how to set default command prompt path??

  • Thread starter Thread starter woeipo
  • Start date Start date
W

woeipo

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!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top