You guys know a lot more about command line parsing than I do! I've come across another oddity perhaps someone could explain. Using the following: FOR /F %%G IN ('dir /b /a:-d O:\PICS\*.*') DO echo %%G I should get each filename echoed on the screen (a prelude to bigger and better functions). The single quotes tell it to take the output of the dir cmd. No matter where I put dbl quotes, and I've tried it everywhere, any filenames with spaces drop everything after the first space. Even FOR /F %%G IN ('"dir /b /a:-d "O:\PICS\*.*""') DO echo "%%G" causes it merely to quote the incomplete name. 7zip has the unfortunate habit of taking c:\my_name and interpreting it as meaning ANY folder in the entire tree with that name. So, these filespecs that are given to it broken become foldernames it looks for everywhere. It's made for some interesting results, but the real targets don't get what's due them. Thanks again, -Skip -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist