windows shell equivalent of find -ls
I need to generate a text listing of all the files in a windows directory. I.e.:
If you mean quickest as in easiest/simplest, cd to the directory and then do a "dir /s /b". The /s means expand all subdirectories, the /b means "bare" or "raw" filenames - no per-directory summary information, file sizes, timestamps, etc.
dir /b /s
dir <dirname> /b /s
sweet! that's just what i needed. thanks!!!
while I'm still here and too lazy to RTFM, is there a flag to exclude directory directory listings?
dir /b /s /a-d RTFMed. thanks again!!
Install cygwin and run 'find' as normal, including any 'xargs' foo you've accrued over the years.
You don't have to RTFM. Most shell commands with a -? on them will give you a quick syntax help.
You know what? Please don't bring your weirdo tools to our excellent Windows environment!
Those Win32 ports of *nix utilities are all that make the command prompt in WinXP even remotely useful to me.
Fog Creek Home