|
Answer» I WOULD like to launch an application using a batch file. I have no problem doing this: Using a shortcut with "batchfile.bat otherfilename"
This works FINE. But, I would like to make the batch file invisible. Searching the internet, I found a .vbs script: CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
This script is called by a shortcut: %windir%\system32\wscript.exe invisible.vbs batchfile.bat otherfilename
This should do the trick, but refuses my 'otherfilename' to be transferred to the batch file.
Can someone help with this? ThanksFound the answer here: http://stackoverflow.com/questions/298562/windows-xp-or-vista-how-can-i-run-a-batch-file-in-the-background-no-windows-dis
Uses a more complicated .vbs file where it DETERMINES the number of command line VARIABLES before calling the batch file.
|