That does have my paths put in. Where exactly are you talking about. The Path Info is all correct. The Wgetcmd path is correct. What am I missing....
Thanks... Aaron Caviglia -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Whidden, Frank Sent: Tuesday, January 29, 2002 11:43 AM To: '[EMAIL PROTECTED]' Subject: RE: [IMail Forum] DOS Bat file for F-Prot You've got to put key in the applicable paths to your setup. If you ran it exactly as below it doesn't know where to find anything in your setup. Thanks, Frank [EMAIL PROTECTED] -----Original Message----- From: Aaron Caviglia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 2:40 PM To: [EMAIL PROTECTED] Subject: [IMail Forum] DOS Bat file for F-Prot I am trying to get the Batch file from declude tools page to work for me. I pasted it below and I'm getting the following errors. I was hoping someone could point me in the right direction. Thanks, Aaron Caviglia [EMAIL PROTECTED] Errors when running the batch file are: Host unknown and Error in server response. Fprotup.bat ------------------------------------------- rem Update of F-Prot update program to eliminate redundant downloads. rem Requires info-zip's unzip.exe 5.42 www.info-zip.org rem Requires gnu wget, links to Windows binaries at www.wget.org or www.cygwin.com rem Will keep the last three versions of f-prot on disk. SETLOCAL :Set Path Info SET fprotdrv=c: SET fprotdir=\Program Files\FSI\F-Prot SET DownloadDir=%fprotdrv%%fprotdir%\update :Set Unzip Command Info SET unzipcmd=UNZIP -o -u SET unziptail=-x f-prot.pif -d %fprotdrv%%fprotdir% :Set FTP Info SET wgetcmd=c:\cygwin\bin\wget.exe SET BaseURL=ftp://ftp.f-prot.com rem :CheckDirectories rem md %fprotdrv%%fprotdir% rem md %DownloadDir% rem if not exist %DownloadDir% goto end :FTPDownload %wgetcmd% -t 2 -N -nv -P %DownloadDir% %BaseURL%/pub/fp-3*.zip %BaseURL%/pub/fp-def.zip %BaseURL%/pub/macrdef2.zip 2>&1 | find "in 0 files" if errorlevel 1 goto UnzipFiles goto end :UnzipFiles SET T=0 for /F %%I in ('dir %DownloadDir%\fp-3*.zip /a-d-s /b /o:-d') do call :DoNewVersion %DownloadDir%\%%I %unzipcmd% %DownloadDir%\fp-def.zip %unziptail% %unzipcmd% %DownloadDir%\macrdef2.zip %unziptail% :Cleanup attrib -r %DownloadDir%\*.zip if exist %fprotdrv%%fprotdir%\f-prot.pif del %fprotdrv%%fprotdir%\f-prot.pif goto end :DoNewVersion SET /a T = 1+%T% if %T% EQU 1 %unzipcmd% %1 %unziptail% if %T% LEQ 3 goto :DoNewVersion_exit if exist %1 del /F %1 :DoNewVersion_exit echo %T% goto :EOF :END ENDLOCAL Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
