Hi all the cats!
please can you help a cat ?
In a batch file I would like to do this:
if the recognized framerate is 25 or 50 fps ----> do ...
so the line would be:
...
IF "%Frame_Rate%"=="50/1" OR IF "%Frame_Rate%"=="25/1" (CALL :MakeAVI25or50FPStoHD "%WorkFolder%\%~n1.vcf" "%WorkFolder%\%~n1.avs" "%WorkFolder%\%~n1.avi" "%~f1")
...
But it don't work (it tell that OR is a unrecognized option) I use windows 8.1 32bit
Please can you tell me what is the correct commandline? thanks
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
Last edited by marcorocchini; 31st Aug 2014 at 07:41.
-
Set "TokenS=0"
IF "%Frame_Rate%"=="50/1" Set "TokenS=1"
IF "%Frame_Rate%"=="25/1" Set "TokenS=1"
If "%TokenS%"=="1" (
CALL :MakeAVI25or50FPStoHD "%WorkFolder%\%~n1.vcf" "%WorkFolder%\%~n1.avs" "%WorkFolder%\%~n1.avi" "%~f1"
)
Or something to that effect. -
WTF is 'cats' ?
'OR' is not a DOS command so if you are using the command prompt you would simply need to expand the 'IF' command and have another 'IF' for a different condition.
But DOS does not recognise 'Frame_Rate' either so you are not using DOS. It would help if you stated just what you are using.