contools--recent-lists
- README_EN.txt
- 2024.12.12
- contools--recent-lists
- DESCRIPTION
- CATALOG CONTENT DESCRIPTION
- EXTERNALS
- USAGE 4.1. Generate config files 4.2. Edit generated config files 4.3. Run cleanup scripts
- LIST FORMATS
- AUTHOR
- DESCRIPTION
Recent list scripts to:
- Cleanup application recent lists.
- CATALOG CONTENT DESCRIPTION
| +- /`.log` | # | # Log files directory, where does store all log files from all scripts | # including all nested projects. | +- /`_config` | # | # Directory with input configuration files. | +- /`_out` | | # | | # Output directory for all files. | | | +- /`config` | | # | | # Output directory for all configuration files. | | | +- /`contools--recent-lists` | | # | | # Output directory for the scripts configuration files. | | | +- /`lists` | | | | | +- `*.lst`, `*.ini` | | # | | # Recent list configuration files. | | | +- `config.0.vars` | # | # Scripts environment variables. | +- `/scripts/*.bat` # # Scripts.
- EXTERNALS
See details in
in
project:
https://github.com/andry81/externals
- USAGE
4.1. Generate config files
Run:
init/init.bat
4.2. Edit generated config files
lists/.lst lists/.ini config.0.vars
4.3. Run cleanup scripts
To cleanup particular application recent list:
scripts/cleanup_*.bat
To cleanup all recent lists:
scripts/_cleanup_all.bat
- LIST FORMATS
|...
- reg||...
1.1. reg|*|
Cleanup entire key path
1.2. reg|.|||
Cleanup a single key path with exact key name match.
1.3. reg|n|[*]||[*]
Cleanup multiple keys with path and name globbing pattern match.
CAUTION:
pattern won't work if a value of the
is too long.
CAUTION:
must be without whitespaces.
1.3.1 ...|*||
Cleanup multiple key paths with exact name match from key path recursively.
1.3.2 ...|||*
Cleanup multiple key names with inexact name match by single key path.
1.3.3 ...|*||*
Cleanup multiple key names with inexact name match from key path recursively.
1.4. reg|m|||...
Cleanup multiple keys with subkey path regex match (
).
NOTE: Currently only =1 is supported.
1.4.1 ...|*|1|||
Cleanup entire key path using match pattern: <RegSubkeyRegexMatch><RegKeyPathSuffix>
NOTE:
If
is
, then treated as empty.
Example: reg|m||1|HKEY_USERS|S-[0-9].[0-9]|Software\MyApp\RecentList
Resulted path pattern: HKEY_USERS\S-[0-9].*[0-9]\Software\MyApp\RecentList
1.4.2 ...|.|1|||||
Cleanup multiple key paths with exact key name and type match.
NOTE:
If
is
, then treated as empty.
Example: reg|m|.|1|HKEY_USERS|S-[0-9].*[0-9]|Software\MyApp|REG_SZ|History
Resulted path pattern and key type: HKEY_USERS\S-[0-9].*[0-9]\Software\MyApp\History, REG_SZ
1.4.3 ...|n|1|||[*]||[*]
Cleanup multiple key paths with path and name globbing pattern match.
NOTE:
If
is
, then treated as empty.
Example: reg|m|n|1|HKEY_USERS|S-[0-9].[0-9]|Software\MyApp*|REG_SZ|History
Resulted path pattern and key type: HKEY_USERS\S-[0-9].[0-9]\Software\MyApp*\History, REG_SZ
- file||...
2.1. file|ini||...
2.1.1. file|ini|*||
Cleanup multiple ini file sections in the expanded file path.
- cmd||...
3.1. cmd|rmdir||
Remove a directory.
CAUTION:
To apply all variables expansion in
a cleanup script must run
from respective session or process which has that environment variable.
For example,
variable exists only under the
session.
- AUTHOR
Andrey Dibrov (andry at inbox dot ru)
Языки
Batchfile