WinZip Command Line File Release -
i'm using wzunzip.exe unzip file in batch mode, not release zip file after it's done, causing program hang or not run next scheduled time. there "exit" or "quit" commands can insert after main command? in nutshell: grab zip file ftp, extract content correct folder, delete zip file. daily. appears me winzip keeps hold on file after it's done. can do.
here code, simple that:
rem *** run ftp-import routine c:\windows\system32\ftp.exe -s:c:\ftp_temp\ftpimport.txt rem *** unzip cd c:\program files\winzip wzunzip -o c:\ftp_temp\myarchive.zip k:\mypath\myfiles rem *** delete downloaded zip cd c:\ftp_temp del c:\ftp_temp\myarchive.zip
Comments
Post a Comment