how to set commmand prompt default path?

  • Thread starter Thread starter kiddJ
  • Start date Start date
K

kiddJ

Hi everyone:

how do I set the Command prompt's default path to a
certain directory?

please help..

thansx in advance!!
 
Hi,

Cmd.exe looks for the following registry subkeys first:
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun\REG_SZ

HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun REG_EXPAND_SZ

If either one or both registry subkeys are present, they are executed before
all other variables.

So, you need to add the command (startup) to that registry path. (say,
"cd\windows". It opens with Windows as default path)

--
Ramesh
(e-mail address removed)


Hi everyone:

how do I set the Command prompt's default path to a
certain directory?

please help..

thansx in advance!!
 
Back
Top