Loading
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!!!

  • Community Manager (Flexera Software)

    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...
  • 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
    Expand Post

Loading
Create shortcut which launches a command prompt and go to my install directory