Sign in with
Sign up | Sign in
Your question

CMD.EXE default path

Tags:
  • Default
  • Command Prompt
  • Windows XP
Last response: in Windows XP
Share
November 17, 2003 12:22:04 AM

pretty simple one this, when i log in under my profile and go to run the CMD.exe file in the run dialog box it comes up with the default path i.e c:\doc&sets\dave etc

any ideas how to change this?

i tried changing the %homepath%%homedrive% setting in the properties box of cmd but to no avail. Even making some changes in enviromental settings didnt change it. ( making the %homepath% c: )

More about : cmd exe default path

November 17, 2003 1:43:00 PM

Use linux. I mean,

Don't use that directly. Make a shortcut. Use that shortcut. Whetever setting you change then, will stick.

There should be a shortcut called "command prompt" or something like that under accessories in you start menu. you can use that, and make changes to that shortcut if you want.

<b><font color=red>"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."</font color=red><font color=blue> - Benjamin Franklin</font color=blue></b>
November 18, 2003 7:03:16 AM

make a startCMD.bat or .cmd file in the directory you want to be opened, write "cmd" in it, make a shortcut for your convinience, open the file.

..this is very useful and helpful place for information...
Related resources
November 18, 2003 7:06:16 AM

"Command prompt" does the same thing as you click start, run and type in "cmd"

..this is very useful and helpful place for information...
November 18, 2003 12:45:13 PM

No. You can make modifications to the "command prompt" shortcut, such as changing the startup directory, as the guy was asking. The change will not be reflected on the actual executable, which you would access directly by doing start->run->cmd.exe

<b><font color=red>"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."</font color=red><font color=blue> - Benjamin Franklin</font color=blue></b>
!