May 8, 200620 yr I am creating some shortcuts to start some process at a higher level. This is easy accomplished with, for example:C:\WINDOWS\system32\cmd.exe /c start "runhigh" /high "C:\Program Files\AppFolder\Appname.exe"However, this causes a command prompt window to quickly open when the command is executed, then close when finished. Is there a way to suppress this window? Edited May 8, 200620 yr by ODC
May 9, 200620 yr I know this sounds weird, but you could call the command from within a VBScript, and have it supress the CMD window.Option ExplicitDim oShellSet oShell = CreateObject("WScript.Shell")oShell.Run "C:\WINDOWS\system32\cmd.exe /c start " & Chr(34) & "runhigh" & Chr(34) & " /high " & Chr(34) & "C:\Program Files\AppFolder\Appname.exe" & Chr(34),0,True
May 9, 200620 yr extract cmdow.zip to windows\system32 and then run your batch file like this:cmdow @ /HIDC:\WINDOWS\system32\cmd.exe /c start "runhigh" /high "C:\Program Files\AppFolder\Appname.exe"exit Edited May 9, 200620 yr by ophiel
Create an account or sign in to comment