a06lp Posted October 27, 2004 Share Posted October 27, 2004 let me see if i understand...as long as i have the code below called (lets say its called: updateSAV.cmd) after SAV installs, itll update (if im connected to the internet)?echo Attempting virus definition update...rem THIS IS THE MOST IMPORTANT PART!!rem Without this then the exe will refuse to run.rem I think this is a security thing as the main exe that calls it is in same folder.cd "C:\Program Files\Symantec AntiVirus":STARTIF %COUNT% == %TRIES% GOTO SKIPIF EXIST .\VPDN_LU.exe. (GOTO DOWNLOAD) ELSE (GOTO WAIT):DOWNLOADecho Virus definitions downloading...start /wait .\VPDN_LU.exe /s /silentecho virus defs should be finished...wait a bit to be sureping -n 5 127.0.0.1>nulGOTO DONE:WAITecho Waiting for installer to finish...SET /A COUNT = COUNT + 1ping -n 60 127.0.0.1>nulGOTO START:SKIPecho Unable to download virus definitions at this time.rem GOTO END:DONEecho Virus definitions downloaded.:END Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now