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 

Скрипты

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



Joined: 19 Apr 2005
Posts: 2

Post (Separately) Posted: Tue Apr 19, 2005 08:33    Post subject: Скрипты Reply with quote

Как создавать скрипты или что-то подобное?

Допустим, мне надо в определённой папке выделить все файлы(или определённые) и упаковать их в определённое место, например 7zip'ом(плагин имеется) с именем архива типа ЧЧ.ММ-ДД.ММ.ГГ.7z

Как и чем можно такое осуществить? Question
Back to top
View user's profile Send private message
Ergo
Site Admin


Joined: 14 Dec 2004
Posts: 430

Post (Separately) Posted: Tue Apr 19, 2005 12:22    Post subject: Reply with quote

Samat Yunusov
Quote:
Как и чем можно такое осуществить?

bat-ником.
Back to top
View user's profile Send private message
Samat Yunusov



Joined: 19 Apr 2005
Posts: 2

Post (Separately) Posted: Tue Apr 19, 2005 12:49    Post subject: Reply with quote

эээ, а подробнее, пошагово.
Back to top
View user's profile Send private message
Ergo
Site Admin


Joined: 14 Dec 2004
Posts: 430

Post (Separately) Posted: Tue Apr 19, 2005 18:21    Post subject: Reply with quote

saver.bat
Code:
C:\P\WinRAR\Rar.exe a -m1 -ag bckp @backup.list


backup.list
Code:
C:\mysql\data
C:\Totalcmd\*.*

и т.д.

C:\Documents and Settings\Ergo\Application Data
C:\FTN\T-MAIL


В файле backup.list список файлов для архивирования.
Подробнее в rar.txt

Если принципиально использование 7zip, думаю у него тоже аналогичные команды есть.

В данном случае если хочется что-то более динамическое, можно воспользоваться powerpro, чтобы он сохранял выделенные файлы в backup.list и запускал архивацию. Т.е. можно выделить необходимые файлы и директории и одним кликом все заархивировать.
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