Jump to content

Command prompt..line


Recommended Posts

Posted

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

  • Replies 5
  • Created
  • Last Reply

Popular Days

Guest David Webb
Posted

Re: Command prompt..line

 

cd\

 

"Natka" <natka@heaven.org> wrote in message

news:g0orb4h81vampa478lale37im44gksup59@4ax.com...

> 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

Posted

Re: Command prompt..line

 

On Tue, 2 Sep 2008 21:10:08 -0400, "David Webb"

<dwebb211@earthling.net> wrote:

>cd\

>

>"Natka" <natka@heaven.org> wrote in message

>news:g0orb4h81vampa478lale37im44gksup59@4ax.com...

>> 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

>

Thank you so much..

bestr regards

natka

Posted

Re: Command prompt..line

 

David Webb wrote:

> cd\

>

> "Natka" <natka@heaven.org> wrote in message

> news:g0orb4h81vampa478lale37im44gksup59@4ax.com...

>> 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

>

>

 

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.

Guest Alec S.
Posted

Re: Command prompt..line

 

Big_Al wrote (in news:uj6WGZWDJHA.3576@TK2MSFTNGP05.phx.gbl):

> David Webb wrote:

> > cd\

>

> 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:

> foobar-?

> baz--help

> dir"foo bar*"

 

 

--

Alec S.

news/alec->synetech/cjb/net

Guest Alec S.
Posted

Re: Command prompt..line

 

Natka wrote (in news:g0orb4h81vampa478lale37im44gksup59@4ax.com):

> 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?

 

 

--

Alec S.

news/alec->synetech/cjb/net


×
×
  • Create New...