Share this topic on AskShare this topic on Del.icio.usShare this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on RedditShare this topic on SlashdotShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on YahooShare this topic on Google buzz

Author Topic: CD command ceased to work  (Read 906 times)

0 Members and 1 Guest are viewing this topic.

Offline HOSSA

  • New Member
  • *
  • Posts: 1
CD command ceased to work
« on: October 11, 2007, 02:24:23 AM »
Hi!
First, thanks for a great site, lots of good info!

After changing a couple of services (all according to the "safe mode" recommendations, wich by the way increased the speed of my computer radically!) i fuound a side effect: i can no longer use the cd-command in command line, in order to change dir to another hard drive partition. it works for changing dir within the C-drive but not in for example the D-drive. I've tried to revert to the "old" settings, but that doesn't seem to help.

Any ideas?

Much appreciate your help!

Best regards:Hossa

Offline Black Viper

  • Administrator
  • ******
  • Posts: 2262
  • "Have you tweaked your OS lately?"
    • Black Viper's Web Site
Re: CD command ceased to work
« Reply #1 on: October 11, 2007, 11:46:35 AM »
The email you sent me is slightly different then this post... you state you are using "cd D:/directory name".

Not sure what you are trying to do but usually "cd" and "drive letter" are not on the same command... sort of.

C:\Windows>d: = change drive to d drive
D:>

C:\>cd \windows = change dir to windows on current drive
C:\Windows>

if currently in d:
and you type:

D:\>cd c:\Windows
D:>

you will remain on d:, but when you change back to c: (using the command on a line by itself) you will be in the windows directory.

I assume this is intended behavior... and has nothing to do with service settings at all.

Any thoughts from anyone else? Am I barking up the wrong tree?

Offline Z.Fibonacci

  • New Member
  • *
  • Posts: 1
Re: CD command ceased to work
« Reply #2 on: January 07, 2008, 02:11:49 AM »
BV's reply is correct. The most common practice is to CD (change directory) on the current drive, in which case you normally omit the drive letter.

However, it is possible to change the current directory on another drive by adding the drive letter. If your current drive is C: but you want to change the current directory on D: you can use

C:\>cd D:\directory_name

exactly as BV posted. I don't know if this is what HOSSA was asking, but all the examples posted by BV seem correct to me. I can't imagine how changing any service to its "Safe" mode (manual, automatic, or disabled) would affect the elemetary DOS commands.