Computing.Net > Forums > Windows XP > command prompt not working

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.

command prompt not working

Reply to Message Icon

Name: prathap singh
Date: August 6, 2008 at 11:04:59 Pacific
OS: win xp
CPU/Ram: C2D 2.2ghz
Product: 945gcpe
Comment:

i open start->run->cmd->cd\ and i select a folder of any drive it gives invalid directory what can i do



Sponsored Link
Ads by Google

Response Number 1
Name: aegis
Date: August 6, 2008 at 11:16:44 Pacific
Reply:

Examples of a change directory command.

cd c:\
cd c:\windows
cd "c:\program files"

You need to use quotes around a 'long' folder name. One with more than 8 characters or one that has imbedded spaces.

XP DOS commands
http://www.infocellar.com/winxp/DOS...


0

Response Number 2
Name: Valerie (by Garibaldi)
Date: August 7, 2008 at 02:16:21 Pacific
Reply:

Also:

cd /d d:\folder

to change both drive and folder.

Enter cd/? for all possible parameters.


0

Response Number 3
Name: Curt R
Date: August 7, 2008 at 06:10:55 Pacific
Reply:

cd \

is a valid command. the "\" is the root of the drive you're on at that moment in time.

So issuing the above command from anywhere takes you to the root of the drive.

When attempting to change to a folder with a long folder name use the Tab key to complete the long folder name.

Example:

You open your command prompt window. You're sitting at:
C:\Documents and Settings

change to the root:

cd \

You're now at:
C:\>

Now change back to the Documents and Settings folder:

cd docu (Hit Tab now and it completes for you and you're left with)
cd "Documents and Settings"
Hit Enter and you're back where you started:
C:\Documents and Settings


0

Response Number 4
Name: Valerie (by Garibaldi)
Date: August 7, 2008 at 15:04:09 Pacific
Reply:

"cd docu (Hit Tab now and it completes for you and you're left with)
cd "Documents and Settings"
Hit Enter and you're back where you started:
C:\Documents and Settings"

Didn't work for me - XP Home SP.2 - just tabbed across the page! "The system cannot find the path specified"

But hitting F7 brings up the Command History from which one can be highlighted then Enter to execute it. Repeatedly hitting F8 will run thru' the Command History.

Here's an old blog which might be of interest.

http://www.apptranslator.com/blog/2...

Valerie.


0

Response Number 5
Name: Curt R
Date: August 8, 2008 at 06:42:35 Pacific
Reply:

Didn't work for me - XP Home SP.2 - just tabbed across the page! "The system cannot find the path specified"

hmmm......maybe it's because you use XP Home and I'm using the Professional version but somehow I doubt it. I double checked before posting that reply and that's exactly how it worked for me so perhaps you did something wrong....or, Home doesn't do that....I don't have any versions of Home around to check on.

Maybe somebody else who uses XP Home would be kind enough to test and see what results they get. I'm very curious to know and also, if Home doesn't do this, it would be good for me to know it so I don't inadvertently give anyone bad advice in the future.

XP Home users, give it a go and reply here please! :)


0

Related Posts

See More



Response Number 6
Name: dwhyte
Date: August 28, 2008 at 09:22:35 Pacific
Reply:

When I open command prompt, the path is c:\documents and settings\user name. The problem is that commands do not run unless i CD back to windows\system32\cmd.exe How can I correct this problem?


0

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: command prompt not working

NET SHARE DOS command does not work www.computing.net/answers/windows-xp/net-share-dos-command-does-not-work/69853.html

Command prompt not working.. www.computing.net/answers/windows-xp/command-prompt-not-working/75380.html

Logoff via command line not working www.computing.net/answers/windows-xp/logoff-via-command-line-not-working/78808.html