HandyFile Find and Replace is equipped with a set of command line parameters which enable you to perform the find/replace tasks from within any batch file and/or external-tool-aware application.
All switches and their values are case-sensitive.
Please note that switches have no default values. The values that had been set during the last attended runtime session are considered default.
| Switch | Description |
|---|---|
| File and Path Control | |
/folder:"quoted_path" |
The folder in which the operation will be performed. Quote the string if it has long names. |
/recurse:on|off |
Recurse subfolders. |
/type:"quoted_type" |
Type(s) (filters) of the files to search for. |
/romod:yes|no |
Modify read only files. |
/rorest:yes|no |
Restore read-only attribute. |
/retaintime:yes|no |
Tells to leave the times of the modified file as-is, without change. |
/bakmode:{d|s|p}:"folder_or_path" |
Back-up creation mode and path to the back-up folder.
Modes (required)d - default;s - subfolder of the search folder; p - static path. Folder or path (required)If mode isd, folder name is ignored.If mode is s, name of the subfolder.If mode is p, path to the back-up folder; the path may include environment variables
(%variable_name%).Command line path for Examples/bakmode:s:"backup"These modes fully reflect the Storage Folders Tab options for the Back-up Folder. |
/tgtmode:{d|s|p}:"folder_or_path" |
Target (processed) file storage mode and path to the folder to store the processed
files.
Modes (required)d - default;s - subfolder of the search folder; p - static path. Folder or path (required)If mode isd, folder name is ignored.If mode is s, name of the subfolder.If mode is p, full path to the target folder; the path may include environment variables
(%variable_name%).Command line path for Example/tgtmode:s:"result"These modes fully reflect the Storage Folders Tab options for the Folder for Processed Files. |
| Text Control | |
/xwhat:"quoted_string" |
Find What. Quote the string if it contains space(s). To use the quotation marks in the text, switch regular expressions on and use operator \x22. |
/xwith:"quoted_string" |
Replace With. Quote the string if it contains space(s). To use the quotation marks in the text, switch regular expressions on and use operator \x22. |
/case:on|off |
Case sensitivity. |
/rx:on|off |
Regular Expressions. |
/replace:yes|no |
Whether perform replace or not. |
/scn:"scenario_name" |
Designates the use of a scenario to
execute.
Note |
| Report Control | |
/list:"quoted_path_name" |
Generate HTML listing. |
| Runtime Control | |
/cfg:"configuration_file" |
Name of the configuration file.
Note |
/run |
Start automatically when launched. |
/close |
Close right after automatic run. |
/hidden |
Do not show the application window when running. This switch is only applicable if /run and /close switches are both specified. |
| © 2002-2006 | This help file was built with |