home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 December (Special) / PCWorld_2004-12_Special_cd.bin / Windows / xp / pebuilder3032.exe / plugin / adaware / adaware.cmd < prev    next >
OS/2 REXX Batch file  |  2003-09-30  |  659b  |  23 lines

  1. @echo off
  2. rem -------------------------------------------------------------------------
  3. rem adaware.cmd - Script to start Adaware from WinPE
  4. rem Created by Bart Lagerweij.
  5. rem -------------------------------------------------------------------------
  6. echo ADAWARE.CMD: Starting...
  7. setlocal
  8. if "%temp%" == "" goto _err
  9. if exist "%temp%\adaware\ad-aware.exe" goto _run
  10. echo ADAWARE.CMD: Copying "%~dp0*.*" to "%temp%\adaware\"
  11. xcopy /s "%~dp0*.*" "%temp%\adaware\"
  12. :_run
  13. start %temp%\adaware\ad-aware.exe
  14. goto _end
  15. :_err
  16. echo.
  17. echo ADAWARE.CMD: No temp variable set...
  18. echo ADAWARE.CMD: Try adding a ramdrive...
  19. echo.
  20. pause.
  21. :_end
  22. endlocal
  23.