B
Brendan DJ Murphy
I regularly receive the Monthly CD updates from the company I work for.
However, to ensure that I remain bang up to date, I have written a little MSDOS batch file (which
uses SGET to retrieve files from a web-server).
I use my Windows Scheduler to run my batch-file at regular intervals...
Here is my batch-file:
set VER=378
c:
cd c:\program*\sophos*
del *.ide
DEL *IDES.EXE
sget http://www.sophos.com/downloads/ide/%VER%_ides.exe
%VER%_ides.exe
NET STOP SWEEPSRV.SYS
NET START SWEEPSRV.SYS
Every time I update Sophos, I change the value of "VER" in the file accordingly.
Is there any way to automatically detect my current version in my program so that I dont have to
edit the file every time I update Sophos.
Many Thanks
However, to ensure that I remain bang up to date, I have written a little MSDOS batch file (which
uses SGET to retrieve files from a web-server).
I use my Windows Scheduler to run my batch-file at regular intervals...
Here is my batch-file:
set VER=378
c:
cd c:\program*\sophos*
del *.ide
DEL *IDES.EXE
sget http://www.sophos.com/downloads/ide/%VER%_ides.exe
%VER%_ides.exe
NET STOP SWEEPSRV.SYS
NET START SWEEPSRV.SYS
Every time I update Sophos, I change the value of "VER" in the file accordingly.
Is there any way to automatically detect my current version in my program so that I dont have to
edit the file every time I update Sophos.
Many Thanks