View Full Version : How to set the Default Directory when CMD.exe
spricks
December 5th 03, 01:42 AM
Hi,
I am used to launching DOS by:
1) clicking on START
2) click on RUN
3) type CMD, then <ENTER>
The command prompt opens by default on C:\DOCUMENTS AND
SETTINGS\SPRICKS. How can I change this to another
directory? I know you can use the "START IN" field in
its SHORTCUT. But I don't want to use the SHORTCUT.
Thanks
Spricks
Sir_George
December 5th 03, 01:42 AM
spricks,
Start/Run/Regedit
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun.
In the right pane, double click Autorun and type in the path to the
directory you want to use; i.e. "cd\" (without the quotes) for a "c" prompt
with no sub-directory.
--
Sir_George
For better access to newsgroups;
http://www.microsoft.com/windowsxp/pro/using/newsgroups/setup.asp
"spricks" > wrote in message
...
> Hi,
>
> I am used to launching DOS by:
>
> 1) clicking on START
> 2) click on RUN
> 3) type CMD, then <ENTER>
>
> The command prompt opens by default on C:\DOCUMENTS AND
> SETTINGS\SPRICKS. How can I change this to another
> directory? I know you can use the "START IN" field in
> its SHORTCUT. But I don't want to use the SHORTCUT.
>
> Thanks
> Spricks
>
R. C. White
December 5th 03, 01:42 AM
Thank you, Sir_George. And Thanks, spricks, for asking the question.
Maybe I can add a tidbit out of gratitude:
Put the Command Prompt on your Desktop and in the Quick Launch toolbar.
Then set up a hotkey, perhaps Ctrl+Alt+M - for MS-DOS. Much quicker than
Start | Run | CMD <Enter>.
In Properties for the shortcut, mine is set to Run in a Normal window, with
Display Options (on the Options tab) set to Full screen, and Colors set to
my preference (Bright White on Blue). Now, no matter what I'm doing in
what program, Ctrl+Alt+M pops up the "DOS" window on my screen - and it
looks just like the DOS screen that I became so familiar with decades ago.
I feel right at home. To search for a file, for example, I can hit
Ctrl+Alt+M, then type dir *.ini /s /a and get a full listing of all such
files, even the hidden ones in subdirectories, much more quickly than by
firing up a Search window.
RC
--
R. C. White, CPA
San Marcos, TX
Microsoft Windows MVP
"Sir_George" > wrote in message
...
> spricks,
>
> Start/Run/Regedit
>
> HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun.
>
> In the right pane, double click Autorun and type in the path to the
> directory you want to use; i.e. "cd\" (without the quotes) for a "c"
prompt
> with no sub-directory.
>
> --
> Sir_George
> For better access to newsgroups;
> http://www.microsoft.com/windowsxp/pro/using/newsgroups/setup.asp
>
>
> "spricks" > wrote in message
> ...
> > Hi,
> >
> > I am used to launching DOS by:
> >
> > 1) clicking on START
> > 2) click on RUN
> > 3) type CMD, then <ENTER>
> >
> > The command prompt opens by default on C:\DOCUMENTS AND
> > SETTINGS\SPRICKS. How can I change this to another
> > directory? I know you can use the "START IN" field in
> > its SHORTCUT. But I don't want to use the SHORTCUT.
> >
> > Thanks
> > Spricks
jaf
December 5th 03, 01:42 AM
Hi,
Download the winXP powertoys. like "command here power toy"
--
John
johnf202 at hotmail dot com
"spricks" > wrote in message
...
> Hi,
>
> I am used to launching DOS by:
>
> 1) clicking on START
> 2) click on RUN
> 3) type CMD, then <ENTER>
>
> The command prompt opens by default on C:\DOCUMENTS AND
> SETTINGS\SPRICKS. How can I change this to another
> directory? I know you can use the "START IN" field in
> its SHORTCUT. But I don't want to use the SHORTCUT.
>
> Thanks
> Spricks
>
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.