View Single Post
Old 03-21-10, 05:57 AM   #1054
Paul Riley
Ocean Warrior
 
Join Date: Aug 2008
Location: Sheffield, England
Posts: 2,679
Downloads: 165
Uploads: 0
Default

Quote:
Originally Posted by Gilbou View Post
The dot is a perfectly valid path. It means "Current directory" to the system.

It comes from Unix where . means = current directory
and .. = the directory above

ex. you can copy a file by doing :

cd c:\toto
copy c:\somefile .

This copies file somefile located in c:\toto to the current directory (the .)

That's why you see a . and .. when you do a dir
Or a ls on a Unix machine running Linux or BSD.
I see,thanks for that
__________________
Best Patrol: 10 merchants + HMS Nelson for 68.056 Tonnes
Paul Riley is offline   Reply With Quote