How to Open Command Prompt In A Specified Directory or Different Location


The command prompt, when initialized,starts in the logged in users default directory which will be like C:\Documents and Settings\Username. From there, you have to navigate using DOS commands to the respective directory, if you have to run an application or work on some files. If you want to launch the command line at a different location,

  • Create a shortcut on your Desktop or your Quick Launch folder by right clicking on it and then clicking New > Shortcut.
  • Enter the location of the item as C:\windows\system32\cmd.exe.
  • Give a name to the shortcut and click Finish create it.
  • Right-click on the created shortcut and choose Properties.
  • Click the Shortcut tab and enter the path where you want the command prompt to start. For example, C:\. Click OK.
  • Double click the shortcut to run it.

In this way, By specifying a startup location, the command prompt can start at that location.

Leave a Reply