у меня вот так написано
set INSPATH=%~dp0
set SCHETCHIK=0
set /p SCHETCHIK=<schet_rs
echo %SCHETCHIK%
type schet_rs
set /a SCHETCHIK=SCHETCHIK + 1
echo %SCHETCHIK% > schet_rs
convert RapidShareCom.jpg -median 1x2 -median 1x2 -median 1x4 -black-threshold 61000 -white-threshold 60001 RapidShareCom.bmp
convert RapidShareCom.bmp -resize 100 -resize 220 -white-threshold 42000 RapidShareCom.bmp
call "%INSPATH%nircmdc.exe" clipboard clear
del "%INSPATH%RapidShareCom.txt"
"%SYSTEMDRIVE%\Program Files\ABBYY FineReader 8.0 Professional Edition\fineocr.exe" "%INSPATH%RapidShareCom.bmp" /lang rapid /send clipboard /optionsfile "%INSPATH%rapidnew4.fbt"
call "%INSPATH%nircmdc.exe" clipboard addfile "%INSPATH%RapidShareCom.txt"
copy "%INSPATH%RapidShareCom.bmp" "%INSPATH%BMP_RS\%SCHETCHIK%.bmp"
copy "%INSPATH%RapidShareCom.jpg" "%INSPATH%BMP_RS\%SCHETCHIK%.jpg"
Вообще он в сборках есть!!!
set INSPATH=%~dp0
set SCHETCHIK=0
set /p SCHETCHIK=<schet_rs
echo %SCHETCHIK%
type schet_rs
set /a SCHETCHIK=SCHETCHIK + 1
echo %SCHETCHIK% > schet_rs
convert RapidShareCom.jpg -median 1x2 -median 1x2 -median 1x4 -black-threshold 61000 -white-threshold 60001 RapidShareCom.bmp
convert RapidShareCom.bmp -resize 100 -resize 220 -white-threshold 42000 RapidShareCom.bmp
call "%INSPATH%nircmdc.exe" clipboard clear
del "%INSPATH%RapidShareCom.txt"
"%SYSTEMDRIVE%\Program Files\ABBYY FineReader 8.0 Professional Edition\fineocr.exe" "%INSPATH%RapidShareCom.bmp" /lang rapid /send clipboard /optionsfile "%INSPATH%rapidnew4.fbt"
call "%INSPATH%nircmdc.exe" clipboard addfile "%INSPATH%RapidShareCom.txt"
copy "%INSPATH%RapidShareCom.bmp" "%INSPATH%BMP_RS\%SCHETCHIK%.bmp"
copy "%INSPATH%RapidShareCom.jpg" "%INSPATH%BMP_RS\%SCHETCHIK%.jpg"
Вообще он в сборках есть!!!