Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing default startup directory for command prompt in Windows 7

How do I change default startup directory for command prompt in Windows 7?

I usually do the following to start command prompt from C:\

   WIN-R (Run Prompt)   cmd /K cd C:\ 

I want to do the following to start command prompt from C:\

   WIN-R (Run Prompt)   cmd 
like image 843
aung Avatar asked Feb 04 '11 08:02

aung


People also ask

How do I change to System32 in CMD?

System32 folderOpen File Explorer. Type the following path in the address bar and press Enter: C:\Windows\System32. Double-click the cmd.exe file to launch Command Prompt with standard privileges.


1 Answers

Make a shortcut pointing to cmd.exe somwhere (e.g. desktop) then right-click on the copy and select "properties". Navigate to the "Shortcut" menu and change the "Start in:" directory.

like image 77
LightBox Avatar answered Sep 18 '22 17:09

LightBox