02-01-2013 07:02 AM
Hello,
Why doesn't the "List Folder" vi find the Windows shorcut files? The WIndows short files have a extension of "*.lnk", I am using Labview 2011 SP1 on a WIndows XP Pro machine, the shorcut files are on a mapped network drive. I can find the shortcut files if a open a cmd window and use the dir command.
Solved! Go to Solution.
02-01-2013 07:28 AM
It works for me. I am using LV2011 on win7 32bit!
02-01-2013 10:05 AM
great, I am glad that it works for you! Are you using a network drive?
02-01-2013 10:09 AM
Yes, tried it on a network folder as well
02-01-2013 10:12 AM
One potential problem is that you may be looking in the wrong place. A shortcut to a file shows up in the files list, and a shortcut to a directory shows up in the directories list. However (in at least LV2011) shortcuts to directories that don't exist - like a disconnected network drive - also show up in the files list.
Mike...
02-01-2013 10:23 AM
It seems to work for me as well. As Mike said, the shortcuts to folders showed up in the folders list.
Here are some other thoughts:
Are you using the pattern filter at all?
Are you using the Recursive File List?
02-01-2013 10:47 AM
Hello,
Ok thanks for the feedback. I assumed that the shortcut would appear as a file, not a folder. The shortcut does show up in the folder listings. Thanks for everyone input
02-01-2013 12:15 PM
If you need to open a file in LabVIEW through a path that includes a folder shortcut, you could use this example.
02-12-2013 03:30 PM
I need just the opposite. I need Labview file open functions to not resolve Windows shortcuts. Every example I have tried does, including the Express File Dialog. I'd feel a lot safer if my users could not accidentally select a shortcut that might lead to a file I really don't want to clobber.
Thanks
02-13-2013 05:31 PM
The issue which started this post has been answered.
You will be able to find assistance on the original post that you submitted for your issue on http://forums.ni.com/t5/LabVIEW/Need-File-Dialog-that-does-not-resolve-Windows-shortcuts/m-p/2312892