Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Удаление папки при закрытии Total Commander

 
Post new topic   Reply to topic    Total Commander Forum Index -> Автоматизация Total Commander printer-friendly view
View previous topic :: View next topic  
Author Message
HEXFIX



Joined: 25 Jun 2010
Posts: 175
Location: Калининград

Post (Separately) Posted: Fri Jul 18, 2025 18:34    Post subject: Удаление папки при закрытии Total Commander Reply with quote

Доброго времени суток.
Возможно ли как-тот реализовать скриптом или батником удаление определённой папки (к примеру, %COMMANDER_PATH%\Plugins\WLX\uLister\.oit) при закрытии Total Commander?
Back to top
View user's profile Send private message
jentoso



Joined: 20 Dec 2007
Posts: 388

Post (Separately) Posted: Fri Jul 18, 2025 19:42    Post subject: Reply with quote

HEXFIX
Можно к примеру плагином Autorun
https://total.darkhost.ru/wiki/doku.php?id=ru:autorun
_________________
TC 11.55 combo, Windows 10 x64
Back to top
View user's profile Send private message
HEXFIX



Joined: 25 Jun 2010
Posts: 175
Location: Калининград

Post (Separately) Posted: Fri Jul 18, 2025 20:27    Post subject: Reply with quote

jentoso
А можно готовый вариант? Я чувствую, что ну ооочень долго разбираться буду с этим всем.
Back to top
View user's profile Send private message
jentoso



Joined: 20 Dec 2007
Posts: 388

Post (Separately) Posted: Fri Jul 18, 2025 22:21    Post subject: Reply with quote

Устанавливает плагин по инструкции.
Затем в папке с плагином создаете файл autorun.cfg (или autorun.aucfg) и в нем прописываете
Code:
Pragma AutorunFinalizeSection
FileDelete(COMMANDER_PATH & "\Plugins\WLX\ulister\.oit\")

Теперь при выходе из TC в папке .oit будут удаляться все файлы, а сама папка останется пустой.
_________________
TC 11.55 combo, Windows 10 x64
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Автоматизация Total Commander All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group