Nightly im copying over gz files from another server. Then uncompressing them with:
gzip -f -k -d c:\files\*.gz
If the folder already contains gz which it does , it overwrite the uncompressed file again each night ( i remove this on a regular basis but need to keep them for a week..)
When i remove the force swtich im asked to confirm yes/no for overwrite.
How do i build this into a Batch file?