Yzöwl Posted June 9, 2005 Share Posted June 9, 2005 (edited) I understand where you are coming from, but since extensions are enabled by default in XP and 2k, there should be no need for me to add them in my command, it would be better for them to be at their default setting.However, the problem is more than likely as found in my later edit this morning. The user of the batch file was not executing it as I had assumed they would.<Edit>Here is another bit of code utilising ideas as highlighted by tbma above@echo off&setlocal enableextensionsfor /f "delims=" %%a in ('dir "%ProgramFiles%\ad-aware.exe" /b/s ^2^>nul') do ( if errorlevel 0 start "" /wait %%~sa /custom +archives +update +auto)endlocal&goto :eofObviously the wait switch could be left out if not required too!</Edit> Edited June 9, 2005 by Yzöwl Link to comment Share on other sites More sharing options...
agtsmith Posted June 10, 2005 Author Share Posted June 10, 2005 (edited) I noticed that the /custom +archives +update +auto work only for the Pro version not the (free) personal, is thier commands or switches to use with adaware se 1.06 personal to auto scan, update and fix? Also anyone of any ways to get spysweeper do to the same run,update etc? If not webroot should definely add that feature into their new version Edited June 10, 2005 by agtsmith Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now