Table 6-1. Filters and Flags
| filter_set [extension] |
Set the file flag to extension
. |
|
| filter_add [extension] |
Add the extension
file flag. |
|
| filter_clear |
Clears the File Flags list and resets it to All Files. |
|
Table 6-2. Drives and Directories
| chd [drive] |
Change current drive to drive
. You can use a network location with this command. |
|
| cd [directory] |
Change current directory to directory
. You can use a network location
or a relative directory. |
|
Table 6-3. Files List
| file_select [file] |
Select file
in the Files List. This does not tag the file for replacements, it just
selects it in the list. |
|
| file_clear |
Clear all selections in the Files List. |
|
| file_deselect [file] |
Clear a file selection in the Files List. |
|
Table 6-4. File Selection
| dirdragdrop |
Select (drag and drop) the current directory in the Directories List. |
|
| filedragdrop |
Select (drag and drop) the currently selected files in the Files List. |
|
| wildcard_select [extension] |
Select a particular type of files in the current directory. |
|
| wildcard_drop [extension] |
Select a particular type of files in the current directory and all subdirectories. |
|
| removeall |
Remove all selected files from the Selected Files List. |
|
Table 6-5. Replacements Grid
| grid_clear |
Clear the replacements grid. |
|
| grid_invert |
Invert the replacements grid. |
|
| grid_load [file] |
Load a previously saved replacements grid (.xpl file). |
grid_load c:\xreplace\all.xpl
|
|
Table 6-6. XReplace-32 Options
| case_sensitive [true/false] |
Set or unset the case-sensitive
search-and-replace option. |
|
| ignore_errors [true/false] |
Set or unset the ignore errors
option. |
|
| include_source [true/false] |
Set or unset the include source for inter-line
option. |
|
| whole_words [true/false] |
Set or unset the whole words only
search-and-replace option. |
|
| copy_redirect [true/false] |
Set or unset the always copy redirected
option. |
|
| reg_exp [true/false] |
Set or unset the regular expressions mode. |
|
Table 6-7. Macros and Commands
| call [filename] |
Execute a different macro. |
call c:\xreplace\macro2.xrm
|
|
| go |
Launch a replacement operation. Note that in unattended mode, the replacement operation is launched
automatically after running a macro. |
|
| quit |
Terminate XReplace-32. Note that in unattended mode, after the replacement operation is complete,
XReplace-32 automatically terminates. |
|
When you run a macro in unattended mode, XReplace-32 will not interrupt it when a syntax error occurs. It will simply ignore
the problematic line. An entry in the log file will be created if you choose to have a log file.
|