(view source code of remmacro.bat as plain text)
@ECHO OFF
CLS
ECHO.
ECHO RemMacro.bat, Version 1.00 for Windows 95 / 98 / NT 4 / 2000 / XP
ECHO Uses McAfee VirusScan to remove all macro's from specified MS-Office file
ECHO.
ECHO Usage: REMMACRO [d:\path\]filespec [/S]
ECHO.
ECHO Where: filespec points to any MS-Office file or files -- wildcards allowed
ECHO /S will scan subdirectories as well
ECHO.
ECHO Assumes McAfee VirusScan is installed in the following directory:
ECHO C:\Program Files\Common Files\Network Associates\VirusScan Engine\4.0.xx
ECHO Modify the path to SCANPM.EXE in this batch file if necessary.
ECHO.
ECHO Written by Rob van der Woude
ECHO http://www.robvanderwoude.com
IF [%1]==[] GOTO End
IF NOT EXIST %1 GOTO End
ECHO.
ECHO.
ECHO.
ECHO.
ECHO You are about to remove all macro's from the following MS-Office file:
ECHO.%1
ECHO Press any key to continue, or Ctrl+Break to abort
PAUSE >NUL
"C:\PROGRA~1\COMMON~1\NETWOR~1\VIRUSS~1\4.0.xx\SCANPM.EXE" /FAM /DAM /NODDA %1
:End
page last modified: 2024-04-16; loaded in 0.0076 seconds