A: You can open a new command prompt using the "start cmd.exe" command.
You can also use the /k switch to make the new command window run a command. This command could be a directory change, shown below:
start cmd /k "cd /d d:\projects\vbscripts"
This starts a new command prompt, and moves to the projects\vbscripts folder on the D drive (if changing the drive, use the /d switch with cd).
If you want to change the start location for a command prompt shortcut, open the properties of the shortcut. Under the Shortcut tab, modify the "Start in" property of the shortcut.
0 comments
Hide comments