Changing the Command Prompt (CMD) Default 'Landing Zone'
Request Help & Support or discuss issues with all Windows versions from Windows NT to Windows XP.

Moderators: Management, Forum Experts

Changing the Command Prompt (CMD) Default 'Landing Zone'

Postby markcynt on Sun Aug 10, 2008 5:38 am

When I run a Command Prompt it always opens with C:\Documents and Settings\Mark> and then the flashing cursor. Shouldn't it just open with C: and then the cursor? Is there a setting I can change to fix it?

Thanks

Mark
Velocity Micro A50
P5N-E SLI, Core2Duo E6850 @ 3.3GHZ, 2 GB DDR2 800MHZ
EVGA 8800GTS 320MB, 2x320GB Stripe, Vista Ultimate SP1, XP Pro SP3, XP Pro SP3
Arctic Cooling Freezer 7 Pro
User avatar
markcynt
PRO Level 6
PRO Level 6
 
Posts: 228
Joined: Sun Jan 27, 2008 6:50 am
Location: Rhode Island

Postby augie on Sun Aug 10, 2008 10:19 am

It's the same here Mark, this is the name you gave it when installing XP. You can probably change it from properties from 'My Computer'. I don't want to test it as I am networked and it took me long enough to get it working.
Some days you're the dog...Some days you're the hydrant.- by someone.

P5Q-Pro, Q6600, 4X 1GB PC8500, 2X eVGA 9800GT @1800 shaders, Vista X86 Ult.
A8N-E, X2 3800+, 2X 512MB, eVGA GTX 260-216 @ 1550 shaders, W7 X86 Ult.
User avatar
augie
Community Director
 
Posts: 13045
Joined: Sun Aug 25, 2002 9:55 pm
Location: Laurentians, Quebec

Postby Grav!ty on Sun Aug 10, 2008 10:58 am

You need to make some registry changes. Type regedit into the Run dialog box and then go to the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

If you don't have a String Value named Prompt then you must create one by right clicking Environment in the left hand pane and select New>String Value. Once that is done name your new String Value Prompt in the right hand pane and then right click Prompt, select Modify and add Value data of C:\

If there is already a String Value named Prompt then simply Modify the path already there.

Restart your system to have the changes registered and test the command prompt :)


Image


Standard Cautionary: Modifying your registry can result in your system becoming unstable or non-functioning and it's suggested you back up the keys you intend to modify.
Image
User avatar
Grav!ty
Senior VP - Operations
 
Posts: 18304
Joined: Tue Sep 14, 2004 1:22 am
Location: Johannesburg

Postby markcynt on Sun Aug 10, 2008 11:29 am

Thanks Graham, worked like a charm! ^*^

Mark
Velocity Micro A50
P5N-E SLI, Core2Duo E6850 @ 3.3GHZ, 2 GB DDR2 800MHZ
EVGA 8800GTS 320MB, 2x320GB Stripe, Vista Ultimate SP1, XP Pro SP3, XP Pro SP3
Arctic Cooling Freezer 7 Pro
User avatar
markcynt
PRO Level 6
PRO Level 6
 
Posts: 228
Joined: Sun Jan 27, 2008 6:50 am
Location: Rhode Island


Return to Windows XP

Who is online

Users browsing this forum: No registered users and 1 guest