LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Community Nugget 6-Jul-2012

Yesterday I was using the List Folder Function when I noticed some unexpected behaviour. It lists hidden files and folders!

 

For example (under windows), when I list the contents of my C: drive the first item to show up is the hidden folder "$Recycle.Bin". Not a good look...

 

This got me thinking about some alternatives and I came up with this very useful command line version:

listFolder.png

 

For those who are interested, the "dir" command offers lots of useful modifiers. It is pretty trivial to order the results by name, or by date for example:

dir with attributes.PNG

Message 1 of 2
(2,757 Views)

Added bonus: The "include subfolders" option seems to offer much better performance than the Recursive File List function Smiley Happy

0 Kudos
Message 2 of 2
(2,756 Views)