Unix Tools on Windows
On Windows 2000, I needed to get a list of all files, including their paths, from a directory containing multiple subdirectories. dir /S > /temp/filelist.txt listed each directory and then each file in that directory. I didn’t like the thought of manually removing all the cruft and creating filepath/filename.ext for 999 files, so I installed UnxUtils.
print -l **/*(.) > /temp/filelist.txt was all I needed. Plus, I got a shell with got tab completion, and access to lots of the commonly used Unix tools.
There are other similar free toolsets out there, like UWin, but UnxUtils was simple to install. Just add the wbin directory to your path.
Ironically, a bit more research tonight reveals that dir /S /B > /temp/filelist.txt might do the job (will test it tomorrow), but it’s still nice to have Unix style shell.
Update: dir /S /B > does list the full path to all files within and below the current directory, with no extraneous text. However, it also includes a line for each directory. Close, but not exactly what I wanted.

Tom Kralidis — 9 November 2006, 21:47