Следите за новостями GitVerse в нашем телеграм-канале

contools--recent-lists

Форк
0

README_EN.txt
  • README_EN.txt
  • 2024.12.12
  • contools--recent-lists
  1. DESCRIPTION
  2. CATALOG CONTENT DESCRIPTION
  3. EXTERNALS
  4. USAGE 4.1. Generate config files 4.2. Edit generated config files 4.3. Run cleanup scripts
  5. LIST FORMATS
  6. AUTHOR

  1. DESCRIPTION

Recent list scripts to:

  • Cleanup application recent lists.

  1. 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.
  1. EXTERNALS

See details in

README_EN.txt
in
externals
project:

https://github.com/andry81/externals


  1. 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


  1. LIST FORMATS

|...

  1. 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:

n
pattern won't work if a value of the
<RegKeyName>
is too long.

CAUTION:

<RegKeyName>
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 (

findstr.exe
).

NOTE: Currently only =1 is supported.

1.4.1 ...|*|1|||

Cleanup entire key path using match pattern: <RegSubkeyRegexMatch><RegKeyPathSuffix>

NOTE: If

<RegKeyPathSuffix>
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

<RegKeyPathSuffix>
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

<RegKeyPathSuffix>
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

  1. file||...

2.1. file|ini||...

2.1.1. file|ini|*||

Cleanup multiple ini file sections in the expanded file path.

  1. cmd||...

3.1. cmd|rmdir||

Remove a directory.

CAUTION: To apply all variables expansion in

<*ExpandPath>
a cleanup script must run from respective session or process which has that environment variable. For example,
%COMMANDER_INI%
variable exists only under the
Total Commander
session.


  1. AUTHOR

Andrey Dibrov (andry at inbox dot ru)

Описание

Recent list scripts to: * Cleanup application recent lists.

Языки

Batchfile

Сообщить о нарушении

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.