Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Xp Command Prompts


  • Please log in to reply

#1
Carter Hayes

Carter Hayes

    Member

  • Member
  • PipPip
  • 91 posts
Hi there, just wondeed if anyone knows hot to change the default Xp command promopt?

When I type cmd.exe I get the default C: \Documents and Settings\User ... and I wondered how to change this so it just displays C: or C:\ windows

Hope this makes sense!?

Cheers
  • 0

Advertisements


#2
Michael

Michael

    Retired Staff

  • Retired Staff
  • 1,869 posts
Were is starts is set the the short cut/icon that you use to open it. So right click the short cut and select properties. In the window that comes up you sould be able to see "Start in:" if you put C:\ is start is C:\
  • 0

#3
Carter Hayes

Carter Hayes

    Member

  • Topic Starter
  • Member
  • PipPip
  • 91 posts
Hi there!, thanks for replying!

Sorry, could you repeat the steps to do that?

At moment I'm going Start-Run-enetering cmd.exe

What are the steps to do the ebove after that? Couldn't see what you meant ?

Thanks
  • 0

#4
My2Cents

My2Cents

    Member

  • Member
  • PipPip
  • 45 posts

Hi there!, thanks for replying!

Sorry, could you repeat the steps to do that?

At moment I'm going Start-Run-enetering cmd.exe

What are the steps to do the ebove after that? Couldn't see what you meant ?

Thanks

Hi there is a icon in Start/accessories there you can right clik and go properties and it will show target as this ,%HOMEDRIVE%%HOMEPATH%, you can change that to c:\ ,but it wont change where it goes when you use the run and the cmd.exe comand only for the icon in start

Edited by My2Cents, 14 May 2006 - 06:16 PM.

  • 0

#5
Michael

Michael

    Retired Staff

  • Retired Staff
  • 1,869 posts
Well in that case you can't do it easly. You can make a short cut on the desktop by right clicking the desktop in the menu popup "new" then "shortcut" in the box cmd.exe, then "next" and then what you want to call the shortcut then click "finish". Then follow what I said above.

You don't have to have it start in C:\ if you type out the full path to files that are not in C:\windows\system32
  • 0

#6
Carter Hayes

Carter Hayes

    Member

  • Topic Starter
  • Member
  • PipPip
  • 91 posts
Sorry I still don't understand how to do what you have suggested above.
  • 0

#7
Carter Hayes

Carter Hayes

    Member

  • Topic Starter
  • Member
  • PipPip
  • 91 posts
What I'm trying to do is have it opn like this:

http://www.guidebook...mpt/winnt40.png

instead of displaying Documents and Settings\USer after it, if that makses sense?
  • 0

#8
Fenor

Fenor

    Trusted Tech

  • Retired Staff
  • 5,236 posts
Go to START-->ALL PROGRAMS-->ACCESSORIES and right-click on command prompt. In the little menu that appears, highlight SEND TO and then left-click on DESKTOP (CREATE SHORTCUT). You will now find a shortcut to command prompt on the desktop. Right-click the shortcut on your desktop and select PROPERTIES. In the new window that appears, you will see a text box with %HOMEDRIVE%%HOMEPATH% in it. Delete everything in this text box and type in C:\. Then click APPLY and OK. Now double-click on the shortcut to command prompt on your desktop and you will see it now goes to C:\ instead of C:\Documents and Settings\Username.

Fenor
  • 0

#9
Carter Hayes

Carter Hayes

    Member

  • Topic Starter
  • Member
  • PipPip
  • 91 posts
Done! Thank you!
  • 0

#10
Fenor

Fenor

    Trusted Tech

  • Retired Staff
  • 5,236 posts
Your welcome! :whistling:

Fenor
  • 0

#11
My2Cents

My2Cents

    Member

  • Member
  • PipPip
  • 45 posts
lol
  • 0

#12
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
there is actually another way to do this if you are interested, but it can result in unintended results if you use batch files that require access to your profile (for example, I have a batch file that cleans out temp files)

start > run
regedit
{enter}

navigate to
HKEY_CURRENT_USER\Software\Microsoft\Command Processor

Right click in the right pane, choose NEW > STRING

call the string

AutoRun, then click off to set its name

Now double click and make the VALUE

cd \

(NOTE THE SPACE BETWEEN CD and the "slash")

What this does is it runs a command at the beginning of the command prompt (it autoruns it) before turning over control to you.
for setting it to the WINDOWS directory the command would be

cd \windows

(again, note space)


That way, no shortcut on your desktop for minimalists :whistling:
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP