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
sa



PostPosted: Tue Jul 28, 2015 12:46    Post subject: Reply with quote

Скрипт с использованием утилиты TCFS2:
Code:
'============================================
' Описание: Поиск файлов в интервале 2 минут
' Требования: Необходима утилита TCFS2
'============================================
  NOW1 = NOW
  NOW2 = dateadd("n",2,NOW1)
  WScript.CreateObject("WScript.Shell").Exec "%COMMANDER_PATH%\Utils\TCFS2\TCFS2.exe" _
  & " /ef ""tcm(501,1) eval(send_wait(`~(^{TAB}{TAB} " _
  & Right("0" & Day(NOW1), 2) & "." & Right("0" & Month(NOW1), 2) & "." & Year(NOW1) _
  & " " & Right("0" & Hour(NOW1), 2) & ":" & Right("0" & Minute(NOW1), 2) & ":" & "00" _
  & "{TAB 2}" & Right("0" & Day(NOW2), 2) & "." & Right("0" & Month(NOW2), 2) & "." & Year(NOW2) _
  & " " & Right("0" & Hour(NOW2), 2) & ":" & Right("0" & Minute(NOW2), 2) & ":" & "00" _
  & "^+{TAB}{TAB})`, findwnd(`TFindFile`)))"""
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group