lightrek
lightrek

Reputation: 981

What is the meaning of $(SolutionDir)\..\..\..\

In the property sheet: for one User Macros, the name is OSGVE_DIR, with Value: $(SolutionDir)\..\..\..\..

What is the path of $(SolutionDir) ? \..\..\..\.. the slashes means change to the sub directory or up directory?

Upvotes: 2

Views: 23564

Answers (1)

supersam654
supersam654

Reputation: 3244

You asked two completely independent questions. Below is the answer to your second one. I recommend re-asking your first one as a separate question.


The characters ..\ signify moving up the folder hierarchy by one level. So, if while in the directory a\b\c\d\e\f\g\ I referenced \..\..\..\, I would be now looking at a\b\c\d\ The starting \ simply says to reference the current directory and is (usually) optional.

Upvotes: 3

Related Questions