cdt1999 Posted June 4, 2008 Report Share Posted June 4, 2008 I want to create a shortcut to cmd.exe that i can click on, but I want it to always do the same thing every time - execute a program.My current Command shortcut looks like this:Target: %SystemRoot%\system32\cmd.exeStart In: %HOMEDRIVE%%HOMEPATH%I think I want Target: %SystemRoot%\system32\cmd.exe -C:/program.exebut that's not right, so how can I do this?vincent Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted June 5, 2008 Report Share Posted June 5, 2008 cmd /? will give you the full help text for the command prompt. Most likely the /K option will do what you want. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.