As the SEP RU6MP1 released, there are some new features of the DoScan.exe. There are more options for the DoScan.exe on RU6MP1. The screenshot below shows the options on SEP RU5:
And, the newest help and options of DoScan.exe on RU6MP1 shows as below:
Here are the mainly 5 options and their usage:
1) DoScan.exe /ScanName "Weekly Scheduled Scan"
- Only one scan is allowed to pass in as of now. The name of a local scan or admin scan can be passed in as a parameter.
- Scan options are the same as from the named scan in the command line.
2) DoScan.exe /List
- Lists all the admin and local scans present in the system.
- Attaches to the same console if launched from a console or creates a new console to display the output if launched from a Windows GUI.
Notes:
Before run the command 'DoScan.exe /ScanName "Weekly Scheduled Scan', you need to run the 'DoScan.exe /List' to find out what scan name can be used. Below is the example of the 'DoScan.exe /List':
3) DoScan.exe /ScanDrive "A-C,E,V-S,Z"
- You can leave spaces in between drive letters but the entire string should be within quotes. This example will scan drives A, B, C, E, S, T, U, V, Z.
- Scan options will be taken from the default quick scan options.
4) DoScan.exe /ScanDir "%WinDir%\System32" /ScanDir "%Temp%" /ScanDir "C:\Test"
- Multiple directories can be passed in with multiple /ScanDir switches.
- Relative paths or Environment strings are permitted in the path. Internally these will be converted to fully qualified names.
- Scan options will be taken from the default quick scan options.
5) DoScan.exe /ScanFile "C:\Test.log" /ScanFile "%WinDir%\Notepad.exe"
- Same as the /ScanDir switch. Multiple filenames can be passed with multiple /ScanFile switches.
- Relative paths or Environment strings are permitted in the path. Internally these will be converted to fully qualified names.
- Scan options will be taken from the default quick scan options.