Command prompt..line

  • Thread starter Thread starter Natka
  • Start date Start date
N

Natka

hi...
when i open c/p...i have line
c:\documents and settings\boss
my question is:
what command should i type in to get to C:\
skipping this "documents and setting"
thank you
natka
i try 2dots (..) didtnt works
 
David said:

and
cd ..
changes one directly up. in your case C:\documents and settings

PS. I'd get in the habit of putting spaces between CD and the folder,
so its:
cd \

But that's just me. Have fun.
 
Big_Al wrote (in
PS. I'd get in the habit of putting spaces between CD and the folder,
so its:
cd \


Why? Won’t this work? :P
C:\>cdwindows

But seriously, I often don’t add a spaces for things that don’t start with an
alphanumeric character:
dir\/s/a
copy d:\blah/y
start.
start..\blah

But of course not:
 
Natka wrote (in
when i open c/p...i have line
c:\documents and settings\boss
my question is:
what command should i type in to get to C:\
skipping this "documents and setting"
i try 2dots (..) didtnt works


That’s because one dot means current directory, two dots means one level back.
In past versions of Windows you could use any number of dots (eg cd .... to go
back three levels), but that doesn’t work anymore, you have to put in slashes
(eg cd ..\..\..)


One question out of curiosity though: if you aren’t familiar with the
change-directory command (a fairly basic one), what task are you trying to
perform with the command prompt? Doing anything else is even more complex. Are
you just trying to learn it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top