| Purpose: | Display or modify the TCC executable file mapping |
| Format: | MAPEXE [/A /D /F /Pn] command [pathname] |
Usage:
TCC saves a map in memory of executables that it finds in the PATH, to speed up finding them on subsequent calls. The map contains the .exe filename and the full path+name retrieved from the PATH search. The map is specific to each shell, and is not saved / restored when a shell exits and restarts.
The MAPEXE command provides access to the mapped executables if you need to display / add / modify / delete entries. This command is not necessary for normal use; it is intended for advanced users and administrators.
The MAPEXE options are mutually exclusive; you can only specify one of them on the MAPEXE command line (except for /F and /P).
If you don't specify any arguments (except /P), MAPEXE will display all of the mapped executables. That display (and also the /F option) will show the number of times the executable has been retrieved from the map,
You can disable the TCC executable file mapping with a MapEXE=NO directive in your TCMD.INI file.
If you have SettingChange=YES in your TCMD.INI, and TCC receives a WM_SETTINGCHANGE message with a PATH update, TCC will clear the executable file mapping.
Options:
| /F | Find and display the full path+name saved in the map for the specified command. You can use wildcards in command. |
| /P | Pause after displaying a page. The /P option has an optional argument n that specifies the number of seconds to wait for a keystroke before continuing. |