Advertisement
filebot

invoke.vbs

Aug 1st, 2013
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Dim cmd
  2. For Each arg In WScript.Arguments
  3.     cmd = cmd & " """ & arg & """"
  4. Next
  5. cmd = Trim(cmd)
  6.  
  7. Set WshShell = WScript.CreateObject("WScript.Shell")
  8. WshShell.Run cmd, 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement