12-28-2006 11:42 AM - edited 12-28-2006 11:42 AM
Message Edited by Darren on 12-28-2006 11:43 AM
12-28-2006 02:16 PM
12-28-2006 03:18 PM
Hi Scott,
I'm just a Windows jockey, so I'm not sure what the behavior is with Aliases and Symbolic Links on Mac/Linux. I have an e-mail out to one of my colleagues who should be able to give us a more complete answer. I'll let you know when he gets back to me.
-D
12-28-2006 03:33 PM
@Darren wrote:
I'm just a Windows jockey,...
OK, a Windows question:
Am I correct to assume that links always end in ".lnk" (under windows). If this is true, we can just weed out the stuff that matches ".lnk$" or similar. I faintly remember that I did something like that years ago... 🙂
12-28-2006 03:37 PM
Yup, unless some doofus names one of his folders something like 'folder.lnk'. Then you have to add a check for that...and there's probably other corner cases you'd have to hack around too. I think using the 'shortcut' output of the File/Directory Info function is probably the cleanest solution.
-D
12-28-2006 07:27 PM
@Darren wrote:
Yup, unless some doofus names one of his folders something like 'folder.lnk'.
Ouch, Yes!
The new info tool is certainly the best! Hopefully, all users will upgrade. 🙂
While not entriely "hack-free", filtering for .lnk$ is probably sufficient for pre 8.0 users. I don't remember running into any issues when I used this method very, very long ago.
10-12-2008 09:50 PM
I hope someone sees this post, considering how old this thread is. I'm encountering the exact problem described here using Labview 7.1. The recursive file list.vi is choking when it encounters a *.lnk file. Can someone suggest a method of filtering these out from within the recursive file list.vi? It accepts a start path as input and then goes through each folder in that start folder using the list directory.vi. I think it's when a *.lnk shortcut is passed to the list directory.vi is when it chokes. It seems to me that *.lnk files would have to be filtered out before this point.