Quick Tip #1: Using the for command to get directory info Wed Feb 2, 2005 by Most Valuable Yak (Rob Volk) in general, for, quick-tips Sometimes I need to import file information into SQL Server, or just get a list of files, sizes, etc. Normally I use the dir command, but it generates a fixed layout that is sometimes difficult to parse. Read more →