Thursday, 9 August 2012

Here I will saw u for some way to run a batch file (.bat) without anything visible to the user (no window, no taskbar name, .etc..).

S-1 
Save this one line of text as file invisible.vbs


 CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False

 S-2

To run any program or batch file invisibly, use it like this:
wscript.exe "C:\Wherever\invisible.vbs" "C:\Some Other Place\MyBatchFile.bat"
but both file r in C drive.............. ...............

No comments:

Post a Comment