Introduction: Start a Batch File Completely Hidden

Picture of Start a Batch File Completely Hidden

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

Picture of 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

Picture of 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

Picture of 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

Comments

Pratik Sonigra (author)2016-03-17

For more batch file refer this link

http://batch798.blogspot.in/

About This Instructable

87,950views

21favorites

License:

Bio: 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 ... More »
More by Prof. Pickle:How to Create your own Commands with BatchStart a batch file completely hiddenTips on how to find errors in code (focused on DOS)
Add instructable to: