
vvurakar1.5524913934817776E12 asked a question.
Create shortcut which launches a command prompt and go to my install directory
Hi,
I'm trying to create a shortcut which has to launch a command prompt and "cd" (go) to my install directory?
I was able to launch the command prompt by giving cmd.exe at the Target of the shortcut as follows
Target:: [SystemFolder]cmd.exe
But I want to know the arguments that should be given to this target to "cd" to my installation directory
Can someone help me with my problem!!!
cmd.exe /K "cd /d [InstallDir]".
This will leave the command prompt open and change to the proper location. Using /d in the cd command tells the OS to follow the folder.
Cheers,
ME
By this way, you will not need to do "cd folder"