PC Review


Reply
Thread Tools Rate Thread

Command prompt..line

 
 
Natka
Guest
Posts: n/a
 
      3rd Sep 2008
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
 
Reply With Quote
 
 
 
 
David Webb
Guest
Posts: n/a
 
      3rd Sep 2008
cd\

"Natka" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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



 
Reply With Quote
 
Natka
Guest
Posts: n/a
 
      3rd Sep 2008
On Tue, 2 Sep 2008 21:10:08 -0400, "David Webb"
<(E-Mail Removed)> wrote:

>cd\
>
>"Natka" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> 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
 
Reply With Quote
 
Big_Al
Guest
Posts: n/a
 
      3rd Sep 2008
David Webb wrote:
> cd\
>
> "Natka" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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.
 
Reply With Quote
 
Alec S.
Guest
Posts: n/a
 
      3rd Sep 2008
Big_Al wrote (in news:(E-Mail Removed)):

> 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


 
Reply With Quote
 
Alec S.
Guest
Posts: n/a
 
      3rd Sep 2008
Natka wrote (in news:(E-Mail Removed)):

> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command Prompt (cmd.exe) command line interface Larry__Weiss Windows XP General 7 23rd Jul 2006 03:42 PM
command line prompt showing how long last command took? sillyhat@yahoo.com Microsoft Windows 2000 CMD Promt 13 31st May 2006 04:18 PM
command line prompt showing how long last command took? sillyhat@yahoo.com Windows XP General 1 13th May 2006 02:03 AM
Command line and C:\ prompt felicia Windows XP General 10 26th Apr 2005 02:28 PM
command line prompt Billy Cormic Microsoft VB .NET 3 15th Oct 2003 08:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:58 PM.