ODC Posted May 8, 2006 Share Posted May 8, 2006 (edited) 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, 2006 by ODC Link to comment Share on other sites More sharing options...
mhc Posted May 8, 2006 Share Posted May 8, 2006 Set up the shortcut to run minimized...that should do the trick.mhc Link to comment Share on other sites More sharing options...
Phurious Posted May 9, 2006 Share Posted May 9, 2006 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 Link to comment Share on other sites More sharing options...
ophiel Posted May 9, 2006 Share Posted May 9, 2006 (edited) 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, 2006 by ophiel Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now