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 

Single Post  Topic: Поиск папок с частично одинаковыми названиями 
Author Message
Batya



PostPosted: Mon May 24, 2010 14:18    Post subject: Reply with quote

Можно использовать Script Content plugin.
General.vbs:
Code:
'========== Изменяемые параметры ===========================================
Const Dlm = " - " 'Разделитель
'===========================================================================

Dim Arr
Arr = split(filename, Dlm)
content  = Arr(0)
content1 = ""
content2 = ""
content3 = ""
content4 = ""
content5 = ""
content6 = ""
content7 = ""
content8 = ""
content9 = ""

if UBound(Arr) > 0 Then content1 = Arr(1)
if UBound(Arr) > 1 Then content2 = Arr(2)
if UBound(Arr) > 2 Then content3 = Arr(3)
if UBound(Arr) > 3 Then content4 = Arr(4)
if UBound(Arr) > 4 Then content5 = Arr(5)
if UBound(Arr) > 5 Then content6 = Arr(6)
if UBound(Arr) > 6 Then content7 = Arr(7)
if UBound(Arr) > 7 Then content8 = Arr(8)
if UBound(Arr) > 8 Then content9 = Arr(9)


script.ini:
Code:
[Script]
Section=General

[General]
LongName=0
ParseDirs=1
Script=General.vbs

_________________
Нет, я не сплю. Я просто медленно моргаю.
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group