Advertisement
Vb6solutions

Set shell=CreateObject("wscript.shell")

Sep 9th, 2024
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. 'Dim shl
  2. 'Set shl = CreateObject("Wscript.Shell")
  3. 'Call shl.Run("""chrome.exe""")
  4. 'Set shl = Nothing
  5. 'WScript.Quit
  6.  
  7. msgbox "Press OK to run the Calculator"
  8. Set shell=CreateObject("wscript.shell")
  9. Shell.Run("calc.exe")
  10. Shell.Run("chrome.exe")
Tags: vbscript
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement