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: Необходимо объединить файлы формата tif попарно 
Author Message
Tol!k



PostPosted: Sat Apr 30, 2011 22:31    Post subject: Reply with quote

запустить в папке с файлами
Code:
@echo off &chcp 1251 >nul &setlocal enableextensions

dir /b /on *.tif* >%tmp%\tif.tmp
if not exist multi md multi
set /a cnt=0 &set "pages="
for /f "delims=" %%f in (%tmp%\tif.tmp) do call :p "%%f"
del /q %tmp%\tif.tmp
goto :eof

:p
set /a cnt+=1
set "pages=%pages%,%~1"
if "%cnt%"=="2" (
"D:\путь\i_view32.exe" /tifc=7 /multitif=(multi\%~n1_2p%~x1%pages%^) /killmesoftly
set /a cnt=0 &set "pages="
)
goto :eof
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group