Вот с этим батником нормально работает+ ini
set INSPATH=%~dp0
set SCHETCHIK=0
set /p SCHETCHIK=<schet_ff
echo %SCHETCHIK%
type schet_ff
set /a SCHETCHIK=SCHETCHIK + 1
echo %SCHETCHIK% > schet_ff
call Clipboard.exe
del "%INSPATH%FileFactory.txt"
start /wait usd_ff.exe FileFactory3.gif FileFactory.bmp
"C:\Program Files\ABBYY FineReader 8.0 Professional Edition\fineocr.exe" "%INSPATH%FileFactory.bmp" /lang filefactory /send clipboard /optionsfile "%INSPATH%usd_ff_by_Livesms.fbt"
call Clipboard.exe "%INSPATH%filefactory.txt"
copy "%INSPATH%FileFactory3.gif" "%INSPATH%BMP_FF\%SCHETCHIK%.gif"
del /q "%INSPATH%FileFactory*.bmp"
[Plugin_FileFactory]
RecogniseCMD=FineOCR_FF.bat
NumChars=4
[Plugin_filefactory.com]
DebugLogInfo=1
CollectImages=0
RecogniseCMD=FineOCR_FF.bat
CaptchaExchangeServer=
NumChars=4
ShowCommandWindow=0
set INSPATH=%~dp0
set SCHETCHIK=0
set /p SCHETCHIK=<schet_ff
echo %SCHETCHIK%
type schet_ff
set /a SCHETCHIK=SCHETCHIK + 1
echo %SCHETCHIK% > schet_ff
call Clipboard.exe
del "%INSPATH%FileFactory.txt"
start /wait usd_ff.exe FileFactory3.gif FileFactory.bmp
"C:\Program Files\ABBYY FineReader 8.0 Professional Edition\fineocr.exe" "%INSPATH%FileFactory.bmp" /lang filefactory /send clipboard /optionsfile "%INSPATH%usd_ff_by_Livesms.fbt"
call Clipboard.exe "%INSPATH%filefactory.txt"
copy "%INSPATH%FileFactory3.gif" "%INSPATH%BMP_FF\%SCHETCHIK%.gif"
del /q "%INSPATH%FileFactory*.bmp"
[Plugin_FileFactory]
RecogniseCMD=FineOCR_FF.bat
NumChars=4
[Plugin_filefactory.com]
DebugLogInfo=1
CollectImages=0
RecogniseCMD=FineOCR_FF.bat
CaptchaExchangeServer=
NumChars=4
ShowCommandWindow=0