|  | Command prompt..line |  | |
| | | Natka |  |
| Posted: Tue Sep 02, 2008 11:00 pm Post subject: Command prompt..line |  |
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 Webb |  |
| Posted: Tue Sep 02, 2008 11:10 pm Post subject: Re: Command prompt..line |  |
cd\
"Natka" <natka@heaven.org> wrote in message news:g0orb4h81vampa478lale37im44gksup59@4ax.com...
| Quote: | 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 |
|
| |
| | | Natka |  |
| Posted: Tue Sep 02, 2008 11:39 pm Post subject: Re: Command prompt..line |  |
On Tue, 2 Sep 2008 21:10:08 -0400, "David Webb" <dwebb211@earthling.net> wrote:
| Quote: | 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 |
| |
| | | Big_Al |  |
| Posted: Tue Sep 02, 2008 11:41 pm Post subject: Re: Command prompt..line |  |
David Webb wrote:
| Quote: | 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. |
| |
| | | Alec S. |  |
| Posted: Wed Sep 03, 2008 12:40 am Post subject: Re: Command prompt..line |  |
Big_Al wrote (in news:uj6WGZWDJHA.3576@TK2MSFTNGP05.phx.gbl):
| Quote: | 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?  C:\>cdwindows
But seriously, I often don’t add a spaces for things that don’t start with an alphanumeric character:
| Quote: | dir\/s/a copy d:\blah/y start. start..\blah
|
But of course not:
| Quote: | foobar-? baz--help dir"foo bar*"
|
-- Alec S. news/alec->synetech/cjb/net |
| |
| | | Alec S. |  |
| Posted: Wed Sep 03, 2008 12:47 am Post subject: Re: Command prompt..line |  |
Natka wrote (in news:g0orb4h81vampa478lale37im44gksup59@4ax.com):
| Quote: | 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 |
| |
|
|