Quote:
Originally Posted by userman
I am not sure if we give the same meaning to the term "path"
let's say a file named data.txt exists in C:\Windows\temp
its path is C:\Windows\data.txt and not C:\Windows\temp
this is what I mean by "path"
|
The path to a file that exists in "C:\Windows\temp" is NOT "C:\Windows\" or ("C:\Windows"). It is "C:\Windows\temp". The name is "data.txt". The full name (ie path and name) is "C:\Windows\temp\data.txt".
If you issue a command to look in "C:\Windows\temp" the file "C:\Windows\data.txt" will not be found, because the path is different. For the same reasons, neither will the file "C:\Windows\temp\data.txt" be found if you look in "C:\Windows".