Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > dos command change directory cd .

Reply
Thread Tools Display Modes

dos command change directory cd .

 
 
viensdansmavie
Guest
Posts: n/a

 
      09-27-2009
what is this command cd .
it is not give a error message and it doesn't anything.
what is this cd and one point cd .
 
Reply With Quote
 
 
 
 
Guest
Posts: n/a

 
      09-27-2009
cd . means change to the current directory.

--
..
--
"viensdansmavie" <> wrote in message
news:74511025-3ECA-4B7A-A63D-...
> what is this command cd .
> it is not give a error message and it doesn't anything.
> what is this cd and one point cd .


 
Reply With Quote
 
Kerry Brown
Guest
Posts: n/a

 
      09-27-2009
The period is shorthand for the current directory. Normally in Windows it
isn't used. In *nix it's used a lot.

--
Kerry Brown
MS-MVP - Windows Desktop Experience: Systems Administration
http://www.vistahelp.ca/phpBB2/


"viensdansmavie" <> wrote in message
news:74511025-3ECA-4B7A-A63D-...
> what is this command cd .
> it is not give a error message and it doesn't anything.
> what is this cd and one point cd .


 
Reply With Quote
 
Ǝиçεl
Guest
Posts: n/a

 
      09-27-2009

A beginners guide to the Command Prompt
<http://www.codejacked.com/a-beginners-guide-to-the-command-prompt/>
-=-

"viensdansmavie" wrote:

> what is this command cd .
> it is not give a error message and it doesn't anything.
> what is this cd and one point cd .

 
Reply With Quote
 
ray
Guest
Posts: n/a

 
      09-28-2009
On Sun, 27 Sep 2009 14:52:01 -0700, viensdansmavie wrote:

> what is this command cd .
> it is not give a error message and it doesn't anything. what is this cd
> and one point cd .


'cd' is 'change directory'.
'cd' changes to home directory.
'cd .' changes to the current directory - i.e. where you alread are - not
very useful.
'cd ..' changes to the parent directory - i.e. one level up.
 
Reply With Quote
 
Tim Slattery
Guest
Posts: n/a

 
      09-28-2009
viensdansmavie <> wrote:

>what is this command cd .
>it is not give a error message and it doesn't anything.
>what is this cd and one point cd .


"cd" is "change directory". "." means the current directory, and ".."
means the parent directory. So "cd ." means "change to the current
directory". Since you're already there, that means you've told the
machine to do nothing and that's what it's doing.

--
Tim Slattery
MS MVP(Shell/User)

http://members.cox.net/slatteryt
 
Reply With Quote
 
Tim Slattery
Guest
Posts: n/a

 
      09-28-2009
ray <> wrote:

>On Sun, 27 Sep 2009 14:52:01 -0700, viensdansmavie wrote:
>
>> what is this command cd .
>> it is not give a error message and it doesn't anything. what is this cd
>> and one point cd .

>
>'cd' is 'change directory'.
>'cd' changes to home directory.


That's Unix (and presumably Linux) behavior. Those systems have the
concept of a home directory for each user. Windows doesn't have that
concept, and AFAIK, using CD without any destination does nothing.

--
Tim Slattery
MS MVP(Shell/User)

http://members.cox.net/slatteryt
 
Reply With Quote
 
Gordon
Guest
Posts: n/a

 
      09-28-2009


"Tim Slattery" <> wrote in message
news:...
>
> That's Unix (and presumably Linux) behavior. Those systems have the
> concept of a home directory for each user. Windows doesn't have that
> concept, and AFAIK, using CD without any destination does nothing.
>


CD and CD. do nothing on Linux, either.

 
Reply With Quote
 
ray
Guest
Posts: n/a

 
      09-28-2009
On Mon, 28 Sep 2009 15:52:06 +0100, Gordon wrote:

> "Tim Slattery" <> wrote in message
> news:...
>>
>> That's Unix (and presumably Linux) behavior. Those systems have the
>> concept of a home directory for each user. Windows doesn't have that
>> concept, and AFAIK, using CD without any destination does nothing.
>>
>>

> CD and CD. do nothing on Linux, either.


Actually, using CD on *nix generally generates a 'command not found'
error.
 
Reply With Quote
 
Gordon
Guest
Posts: n/a

 
      09-28-2009

"ray" <> wrote in message
news:...
> On Mon, 28 Sep 2009 15:52:06 +0100, Gordon wrote:
>
>> "Tim Slattery" <> wrote in message
>> news:...
>>>
>>> That's Unix (and presumably Linux) behavior. Those systems have the
>>> concept of a home directory for each user. Windows doesn't have that
>>> concept, and AFAIK, using CD without any destination does nothing.
>>>
>>>

>> CD and CD. do nothing on Linux, either.

>
> Actually, using CD on *nix generally generates a 'command not found'
> error.


Well, to be pedantic, yes it does!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Re: Windows equivalent of Unix spool directory Tom Ferguson Windows Vista Printing / Faxing / Scanning 2 08-04-2009 04:47 PM
Session Directory (Repost) KKI Technologies Windows Small Business Server 3 05-27-2005 08:45 AM
Backup DC Jimbo Windows Small Business Server 8 03-18-2005 01:08 PM
upgrade windows 2000 server to sbs2k3 Pedro Ferreira aka Dundee Windows Small Business Server 4 01-18-2005 11:48 AM
Problems creating a Virtual Directory in SBS 2k3 John Carlson Windows Small Business Server 2 12-01-2004 12:17 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59