Appscan Command Syntax
Description
Scans the host device and creates an XML file that contains a list of executable programs and their checksums.
Syntax
C:\>Appscan [/o <filename> /s <target directory> /x <extension strung /e /a /p /verbose /warnings /?
Parameters
| Parameter | Description |
|---|---|
/o |
Sends output to the specified file name. If no file name is specified, Appscan uses the default file name (scanfile.xml) in the current folder. |
file name |
Output file name and path. |
/s <target directory> |
Specifies the directory, including all subdirectories, to scan.
|
/x <extension string> |
Specifies the file extension(s) to include in the scan.
|
/e |
Include all executable files in the specified directory regardless of the extension. Do not use /e together with /x. |
/a |
Includes additional file properties for each executable. |
/p |
Shows progress messages during the scan. |
/verbose |
Shows progress and error messages during the scan. |
/warnings |
Shows warning messages during the scan. |
/?
or /help
|
Shows the command syntax and help text. |
Examples
-
C:\>appscan /o scan1.xmlThis scan, by default, includes .exe files in the current directory and is saved as
scan1.xml. -
C:\>appscan /o scan2.xml /x ".exe;.dll" /s "C:\"This scan includes all .exe and .dll files on drive C and is saved as
scan2.xml. -
C:\>appscan /o scan3.xml /x ".dll" /s c:\program filesThis scan includes all .dll files in
c:\program filesand all its subdirectories. It is saved asscan3.xml. -
C:\>appscan /s "C:\program files" /eThis scan includes all executable files in
c:\program filesand all its subdirectories. It is saved as the default file namescanfile.xml.