Great article. I have a curly question. I am trying to list the contents of a large hard drive, and used DIR /s piped to a file to grab details, then wrote a small program to parse the output into a regular form which I could import to Access or Excel.
So far so good, except that the DIR got stuck, I think following the links and going around in circles until I killed it. Analysed the results and found lots of duplicated files and folder names, hence why I suspect links / junctions as the issue.
Any way you know of to avoid traversing links with DIR /S, or an alternate means of listing all files and folders together with size and date, so I can do some rough and ready analysis on file age, size, types and duplicates? I’m working on a SOE without admin access, and can’t install utilities. I can run exe and scripts which are standalone in nature.
(In case anyone suggests writing code, I was copying the output file to my notebook on USB key and writing the parsing program on the notebook.)