C# detect folder junctions in a path -


i want make quick check if in complete path junction point used. have function test folder isjunction() maybe there other solution not call isjunction() on every subfolder.

so i'm looking function hasjunctionsinpath(string path) without testing each folder of path.

is there can this?

edit:

or better...

is possible resolve junctions in path real location of file or folder? better solve problem , still can compare result original path implement bool hasjunctionsinpath(string path) function.

look @ solution of jeff brown.

he implemented features in static class, seems work fine.

http://www.codeproject.com/kb/files/junctionpointsnet.aspx


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -