Skip to content

Instantly share code, notes, and snippets.

@rahuldottech
Last active January 7, 2020 18:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahuldottech/4251160705df4f70f6e483bc6458c741 to your computer and use it in GitHub Desktop.
Save rahuldottech/4251160705df4f70f6e483bc6458c741 to your computer and use it in GitHub Desktop.
invShell [Windows/VBS] - Run batch files, commands and executables invisibly
invShell v0.1 by rahuldottech
-----------------------------
License:
MIT license - https://github.com/rahuldottech/license
Usage:
invShell.vbs <command/script> <arguments>
Example:
invShell.vbs some-script.cmd "arg1" "arg2"
For each ag in wscript.arguments
CMDLINE = CMDLINE & " " & ag
Next
CreateObject("Wscript.Shell").Run "" & mid(CMDLINE, 2) & "", 0, False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment