Command Line

  • Thread starter Thread starter Jake
  • Start date Start date
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!
 
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!
 
After the line information type

CD c:\

This will put you in the root directory of the c drive.
CD stands for change directory
 
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.
 
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?
 
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
 
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.
 
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
 
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.
 
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.
 
Back
Top