• Manish,

    FORFILES is an OS function that is probably deprecated in Windows 2008. Fortunately, if you get the latest version of gzip, you can simply use the -r switch to recurse through the entire directory and the -k switch to retain the original file untouched. The latest version of gzip makes having to use FORFILES unnecessary. Using FORFILES was lazy of me.

    Jeff Bennett