Author Topic: Windows ssymlink and ssymlinkdirs  (Read 2131 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Windows ssymlink and ssymlinkdirs
« on: August 20, 2016, 02:05:47 AM »
So, whats the status of symlinks and windows?
(And JUNCTIONs too I suppose).


I have
    VSLICK=+ssymlinkdirs
set.


If I try to open the same file, with different paths due to symlink folders), it figures that out and opens using the real path.

Yet, when I do a recursive search it will follow symlinks and show duplicate results.

If I have a loop due to symlinks, it will still follow the link but not indefinitely...

Given this folder tree:
C:\Users\joe\Documents\x\PipeToVs.vpw
C:\Users\joe\Documents\x\sub1\PipeToVs.vpw
C:\Users\joe\Documents\x\sub1\suby\  -----> [symlink ..\subX]
C:\Users\joe\Documents\x\subX\ -----> [symlink sub1]


A recursive search give these results
Find all "PipeToVs.vpj", Subfolders, List filenames only, "C:\Users\joe\Documents\x", "*.vpw", Exclude:
File C:\Users\joe\Documents\x\PipeToVs.vpw
File C:\Users\joe\Documents\x\sub1\PipeToVs.vpw
File C:\Users\joe\Documents\x\sub1\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\sub1\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\sub1\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\sub1\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\sub1\suby\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\sub1\suby\suby\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\sub1\suby\suby\suby\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\sub1\suby\suby\suby\suby\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\sub1\suby\suby\suby\suby\suby\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\sub1\suby\suby\suby\suby\suby\suby\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\subX\PipeToVs.vpw
File C:\Users\joe\Documents\x\subX\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\subX\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\subX\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\subX\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\subX\suby\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\subX\suby\suby\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\subX\suby\suby\suby\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\subX\suby\suby\suby\suby\suby\suby\suby\suby\PipeToVs.vpw
File C:\Users\joe\Documents\x\subX\suby\suby\suby\suby\suby\suby\suby\suby\suby\PipeToVs.vpw
Matching files: 22     Total files searched: 22




I'm guessing that Windows is itself somehow preventing deeper recursion here by limiting the number of symlinks it will resolve. True?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: Windows ssymlink and ssymlinkdirs
« Reply #1 on: August 20, 2016, 01:08:37 PM »
Looks like this invocation isn't being passed though to the sgrep process.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: Windows ssymlink and ssymlinkdirs
« Reply #2 on: August 20, 2016, 01:29:09 PM »
Fixed for beta 4