Command Line

J

Jake

When I start the command line, using Start > Run then
typing cmd, I get the following:

C:\Documents and Settings\Jake>

I dont really use command line that much, but I would
like to know how to change the above so it just says C:\

Thanks for any help!
 
R

Ramesh [MVP]

Jake,

Open Registry Editor and navigate to:

HKEY_CURRENT_USER\Software\Microsoft\Command Processor

In the right-pane, double-click "Autoruns" and set "cd\" as the value.

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

When I start the command line, using Start > Run then
typing cmd, I get the following:

C:\Documents and Settings\Jake>

I dont really use command line that much, but I would
like to know how to change the above so it just says C:\

Thanks for any help!
 
D

Dean

After the line information type

CD c:\

This will put you in the root directory of the c drive.
CD stands for change directory
 
W

Wesley Vogel

Try this............

Right click the Desktop | New | Shortcut |
Paste this in the location box:

%SystemRoot%\system32\cmd.exe

Click Next | Click Finish |

Right click the new cmd.exe shortcut | Properties |
In the Start in box replace %windir% with C:\ |
Apply | OK

Double click the new shortcut and you should see.............

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>

==============

You can also change the Start in for the cmd shortcut located under
Accessories on the Start Menu.
 
J

JerryMouse

Anne said:
Type "cd.." and press Enter, then type "cd.." again, and
it should say just c:\.

Or, you could type "CD..." (three periods to back up two levels, etc.)

On the other hand, if someone doesn't know how to change directories at the
command prompt, what is he DOING at the command prompt?
 
K

Ken Blake, MVP

In
JerryMouse said:
Or, you could type "CD..." (three periods to back up two
levels, etc.)



Have you tried this? It doesn't work. CD... does nothing.
 
M

Modelingfrog

Ken Blake said:
In
levels, etc.)



Have you tried this? It doesn't work. CD... does nothing.


no CD... does not do anything but CD.. does (notice the
dual punctuation only)

signed
modelingfrog
 
K

Ken Blake, MVP

In
Modelingfrog said:
no CD... does not do anything but CD.. does
(notice the dual punctuation only)


Yes, I'm aware of what CD.. does. My point is that CD... does
nothing.
 
A

Alex Nichol

Jake said:
When I start the command line, using Start > Run then
typing cmd, I get the following:

C:\Documents and Settings\Jake>

I dont really use command line that much, but I would
like to know how to change the above so it just says C:\

Start it rather from its entry at All Programs - Accessories - Command
Prompt. You can drag that up higher - or even onto the desktop if you
like. R-click on it in the menu, take Properties and on the Shortcut
page adjust the 'Starts in' to the directory you want. so just C:\ will
do.

I also there set a shortcut key so I can invoke it by simply hitting
that
 
M

Modelingfrog

Ken Blake said:
In


Yes, I'm aware of what CD.. does. My point is that CD... does
nothing.


I see what you where correcting. I failed to notice that the cd.. was
stated by Anne. when I read your reply.
 
K

Ken Blake, MVP

In
Modelingfrog said:
I see what you where correcting. I failed to notice that the cd.. was
stated by Anne. when I read your reply.


OK, not a problem. It happens to all of us now and then.
 

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

Top