1.

Solve : subdirectories?

Answer»

please explaing the significance of the "." and ".." that appear in all subdirectories on a disk
Why does it matter? 
The . directory means the current one, the .. refers to the parent directory
So CD .. will take you one level up (which is about the most useful use of .. I can think of)He is doing homework. The right answer is a little more OBSCURE . The dot and double dot are PLACE holders for the current directory and its parent.
So that "CD .." does not literally MEAN  "got up to to  parent", but it means go to the directory named ".."  instead.
Why does anyone want to know this esoteric stuff? Quote from: Geek-9pm on OCTOBER 12, 2010, 03:16:00 AM

Why does anyone want to know this esoteric stuff?

Not so esoteric actually. Many coders use relative paths in their batch files. Many installers also use relative paths based on what the user types in for the install directory.

Powershell also uses a relative paths owing to the FACT that the current directory is not searched by default. If the current directory contains your Powershell script, you must use .\ to force a search of the current directory or type out a fully qualified path name.

 



Discussion

No Comment Found