• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

dos command change directory cd .

V

viensdansmavie

#1
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 .
 

My Computer

G

Guest

#2
cd . means change to the current directory.

--
..
--
"viensdansmavie" <viensdansmavie@newsgroup> wrote in message
news:74511025-3ECA-4B7A-A63D-F632D9789C3E@newsgroup

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

My Computer

V

vista bill

#3
On Sep 27, 5:52 pm, viensdansmavie
<viensdansma...@newsgroup> 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 .
----------------------------------------------------------------------------------------------------------------

Ah, those were the days! In dos, "cd" meant change directory. Wish I
could use some of the dos commands in Vista.

Bill
 

My Computer

K

Kerry Brown

#4
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" <viensdansmavie@newsgroup> wrote in message
news:74511025-3ECA-4B7A-A63D-F632D9789C3E@newsgroup

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

My Computer

P

PencilState

#5
"vista bill" <billsrrempire@newsgroup> wrote in message
news:7d7caec1-987e-42d0-b827-3a805ffed288@newsgroup

> On Sep 27, 5:52 pm, viensdansmavie
> <viensdansma...@newsgroup> 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 .
>
> ----------------------------------------------------------------------------------------------------------------
>
> Ah, those were the days! In dos, "cd" meant change directory. Wish I
> could use some of the dos commands in Vista.
>
Try opening a command prompt.
 

My Computer

T

Tim Slattery

#6
ray <ray@newsgroup> 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)
Slattery_T@newsgroup
http://members.cox.net/slatteryt
 

My Computer

G

Gordon

#7
"Tim Slattery" <Slattery_T@newsgroup> wrote in message
news:3re1c5d5tpt00eq5398tds87avafs7kijt@newsgroup

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

My Computer

#8
On Mon, 28 Sep 2009 15:52:06 +0100, Gordon wrote:

> "Tim Slattery" <Slattery_T@newsgroup> wrote in message
> news:3re1c5d5tpt00eq5398tds87avafs7kijt@newsgroup

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

My Computer

G

Gordon

#9
"ray" <ray@newsgroup> wrote in message
news:7ic2t4F2t9b43U116@newsgroup

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

>> "Tim Slattery" <Slattery_T@newsgroup> wrote in message
>> news:3re1c5d5tpt00eq5398tds87avafs7kijt@newsgroup

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

My Computer

I

Ian D

#10
"Tim Slattery" <Slattery_T@newsgroup> wrote in message
news:3re1c5d5tpt00eq5398tds87avafs7kijt@newsgroup

> ray <ray@newsgroup> 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)
> Slattery_T@newsgroup
> http://members.cox.net/slatteryt
CD\ takes you back to the root directory.
 

My Computer

T

Tim Slattery

#11
"Ian D" <taurus@newsgroup> wrote:

>
>"Tim Slattery" <Slattery_T@newsgroup> wrote in message
>news:3re1c5d5tpt00eq5398tds87avafs7kijt@newsgroup

>> ray <ray@newsgroup> 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)
>> Slattery_T@newsgroup
>> http://members.cox.net/slatteryt
>
>CD\ takes you back to the root directory.
Sure, because \ is the name of the root directory.

--
Tim Slattery
MS MVP(Shell/User)
Slattery_T@newsgroup
http://members.cox.net/slatteryt
 

My Computer

G

Gene E. Bloch

#13
On 9/27/09, ray posted:

> 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 without arguments prints the current directory path.

> '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.
--
Gene Bloch 650.366.4267 lettersatblochg.com
 

My Computer

G

Gene E. Bloch

#15
On 9/29/09, +Bob+ posted:

> On Mon, 28 Sep 2009 20:57:31 -0700, Gene E. Bloch
> <letters@newsgroup> wrote:

>> cd without arguments prints the current directory path.

> You can't post in here without starting an argument
I beg to differ...

:-)

If you're serious: I tried cd without arguments in a command window
before I posted, rather than take a chance on my memory (or the
possibility of a change since I last did it, three or four versions
ago).

--
Gene Bloch 650.366.4267 lettersatblochg.com
 

My Computer

Messages
14
#16
cd . means change to the current directory.

--
..
--
"viensdansmavie" <viensdansmavie@newsgroup> wrote in message
news:74511025-3ECA-4B7A-A63D-F632D9789C3E@newsgroup

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

wat an foolish questioning make me laugh
 

My Computer

System One

  • Motherboard
    asrock presscott
G

Gene E. Bloch

#17
On 9/30/09, Gene E. Bloch posted:

> On 9/29/09, +Bob+ posted:

>> On Mon, 28 Sep 2009 20:57:31 -0700, Gene E. Bloch
>> <letters@newsgroup> wrote:

>>> cd without arguments prints the current directory path.

>> You can't post in here without starting an argument

> I beg to differ...

> If you're serious: I tried cd without arguments in a command window before I
> posted, rather than take a chance on my memory (or the possibility of a
> change since I last did it, three or four versions ago).
I just reread your post. My slowness at getting your pun embarrasses
me.

I shall recover, though. Maybe :-)

--
Gene Bloch 650.366.4267 lettersatblochg.com
 

My Computer

Users Who Are Viewing This Thread (Users: 1, Guests: 0)