Introduction: Start a Batch File Completely Hidden

About: I enjoy anything to do with computers. I have made some interesting scripts, and I am constantly improving my skill set. One day I hope to become a programmer, although in what category is still a mystery (al…

I answered someones question about starting a batch file completely hidden (I think it still shows in task manager), and I realized that there were no instructables on it. Now, this is not my method, I had no idea you could do this. I only made this to help others seeking the same answer. Here is a link to the forum topic about it.

Now the batch file should have been run almost completely hidden. Hope this helps.

Step 1: Batch File

Now, make the batch file that you want run (remember not to make it rely on user interaction or text).
For this instructable, I will be using a file that contains this:
MSG * It worked
...and it will be saved as Hidden.bat

Step 2: VBscript

The next thing you need to create is the VBscript that will aid you in this process.
It should contain this:
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
Save it as whatever you want, for this instructable I will save it as "invisible.vbs"

Step 3: Command Prompt

Now to put it all together.
Go into command prompt and type in this:
wscript.exe "C:\File_Path\invisible.vbs" "C:\File_Path\Hidden.bat"

The batch file should hopefully run almost completely hidden. 

THE END