This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Working directory
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 15, 2008
08:16 PM
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!!!
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!!!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 19, 2008
01:33 PM
You might type cmd /? at a command prompt for ideas; the /C and /K switches to cmd.exe let you pass in a command to run...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 27, 2008
12:01 PM
vvurakar,
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
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 28, 2008
03:39 AM
May be you can test the "Working Directory" setting of the shortcut
By this way, you will not need to do "cd folder"
By this way, you will not need to do "cd folder"