|
Command Line |
Top Previous Next |
|
Agent Ransack's start up values can be altered through information passed through the command line. If an output file is specified then the actual User Interface is not displayed and the results are streamed directly to the file.
The available command line options are:
AgentRansack.exe [saved search] | -o [output file] | -of? | -d [folder name] | -c [containing text] | -f [file name] | -cm | -fm | -s | -fd | -fx | -cr | -pa | -po | -ma [datetime] | -mb [datetime] | -h | -?
To switch an option off append 'n' to the flag, e.g. AgentRansack.exe -fmn Switches OFF match case when comparing files
Examples:
To launch Agent Ransack with the Look In field pre-filled with "C:\Documents and Settings\user\My Documents" the command line arguments would be:
AgentRansack.exe -d "C:\Documents and Settings\user\My Documents"
To run a search looking for files that match *.sys in the folder C:\WINDOWS without launching the usual user interface but instead streaming the results directly to an output file the command line arguments would be:
AgentRansack.exe -d "C:\WINDOWS" -f "*.sys" -o "c:\temp\results.txt"
To launch Agent Ransack with Search subfolders switched off and Match case on contents searching switched on the command line arguments would be:
AgentRansack.exe -cm -sn |