PDA

View Full Version : refrencing



Freeman
01-09-2006, 04:56 PM
I need the scripting for a refrence of a folder behind it. is it ..\ thanks for the help, JF

jscheuer1
01-09-2006, 05:44 PM
Behind is vague, ../ is the relative reference for a folder below the current folder.

Twey
01-09-2006, 07:47 PM
../ is the relative reference for a folder below the current folder.Or above, in the classical inverted-tree visualization of a filesystem.

mwinter
01-09-2006, 07:47 PM
Behind is vague, ../ is the relative reference for a folder below the current folder.Other way around. To me, at least. :) A relative path containing '../' refers to the parent directory, which would be up.

Mike

jscheuer1
01-09-2006, 08:23 PM
../ gets you one step closer to the root of the directory tree (unless you are already at the root). All trees I have ever seen have their roots at the bottom, not the top. This is not to dispute the (conventional?) way of looking at trees Twey and Mike seem to favor, simply to point out the analogy in use and, more to the point, the actual direction we are headed when we use ../, which is one step toward the root.