Search found 1 match

by floffy
14 Feb 2011 20:37
Forum: DOS Batch Forum
Topic: Batch to Verify all files *.gz and delete the Bad GZ file
Replies: 1
Views: 2979

Batch to Verify all files *.gz and delete the Bad GZ file

I try this but can not exist to command on FOR DO FOR %%F in (D:\dnews\BAG\TEMP\*.gz) DO (C:\dnews\UTL\gzip -d "%%F") | (IF %ERRORLEVEL% EQU 1 DEL /S "%%F") >> FOR %%F in (D:\dnews\BAG\TEMP\*.gz) DO (C:\dnews\UTL\gzip -d "%%F") = take each *.GZ file un-archive them if g...