Computing.Net > Forums > Windows XP > Changing Directory at Command Line

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Changing Directory at Command Line

Reply to Message Icon

Name: madcat
Date: April 27, 2004 at 15:32:40 Pacific
OS: Windows XP
CPU/Ram: 512MB
Comment:

An easy one. No matter what I try, I cannot change to directories that have spaces in them like 'Documents and Settings'.
The Microsoft website says that at the C:\> you can type:
cd \file1\file2\file 3 or cd "\file1\file2\file 3" and have it work...but not for me yet.

Any help is appreciated!




Sponsored Link
Ads by Google

Response Number 1
Name: dtech10
Date: April 27, 2004 at 15:59:39 Pacific
Reply:

Hi
You need to use quotes ie
cd "\file1\file2\file 3 or cd \file1\file2\file 3"


0

Response Number 2
Name: madcat
Date: April 27, 2004 at 16:25:30 Pacific
Reply:

Well, the main problem I'm having is...

I want to change the name of a directory in 'Documents and Settings', for ie, 'this folder here' with spaces. But the above described method doesn't seem to be working.

Any help is greatly appreciated.


0

Response Number 3
Name: Nigel Spike
Date: April 28, 2004 at 00:12:00 Pacific
Reply:

A bit inconsistent. First you wanted to change current folder in Command Prompt, then you wanted to rename a folder.

To rename a folder in Documents and Settings, restart in safe mode and log in as Administrator. Then you should be able to rename the Folder.

Renaming a Folder in Documents and Settings can really mess it up for you. I hope you know what you are doing.

Nigel


0

Response Number 4
Name: madcat
Date: April 28, 2004 at 16:12:44 Pacific
Reply:

Somebody told me that changing the name of a directory in 'Documents and Settings' can cause alot or problems. A freind of mine who was fixing my CPU and re-installed XP for me was trying to be funny and named one of those folders something undesirable...so I either have to rename that folder or re-install XP again.

What would you suggest?



0

Response Number 5
Name: Nigel Spike
Date: April 28, 2004 at 23:48:49 Pacific
Reply:

I suggest you rename it to the original name/name of your preference. Let's just hope the new name is not in any registry key. Post back it you have further problems with the folder.

Sometimes a funny friend is not quite as funny as they think they are.

Nigel


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Changing Directory at Command Line

How..change directories at command www.computing.net/answers/windows-xp/howchange-directories-at-command-/62720.html

change wallpaper in command line www.computing.net/answers/windows-xp/change-wallpaper-in-command-line-/175405.html

Command line appears middle screen www.computing.net/answers/windows-xp/command-line-appears-middle-screen/170675.html