Is there any difference between the command line usage of DVDFab9 over DVDFab8? I have a batch file that works fine under v8.2.2.9 but causes a crash dump with V9. This is the batch file (based on an example posted by another user on this forum.
@echo off
echo DVDFAB Batch Conversion Script - DVD9 to DVD5
rem **********************************************
rem Set Enviromental variables for File locations
rem **********************************************
set DVDSOURCE=C:\Ripcord
set SRCDRV=C:
set DESTDIR=K:
set DESTSUBDIR=ripcord
set DESTTYPE=iso
rem **********************************************
rem Set Enviromental variable for DVDFAB Version
rem
rem Note: (x86) is usualy found on Windows 7 64bit
rem Note: The current version of DVDFAB 9 will crash
rem **********************************************
if exist "C:\Program Files (x86)\DVDFab 9\DVDFab.exe" (
set DVDFAB="C:\Program Files (x86)\DVDFab 9\DVDFab.exe"
goto mDVD )
if exist "C:\Program Files\DVDFab 9\DVDFAB.exe" (
set DVDFAB="C:\Program Files\DVDFab 9\DVDFAB.exe"
goto mDVD )
if exist "C:\Program Files (x86)\DVDFab 8 Qt\DVDFab.exe" (
set DVDFAB="C:\Program Files (x86)\DVDFab 8 Qt\DVDFab.exe"
goto mDVD )
if exist "C:\Program Files\DVDFab 8 QT\DVDFAB.exe" (
set DVDFAB="C:\Program Files\DVDFab 8 QT\DVDFAB.exe"
goto mDVD )
:mDVD
rem set DVDFAB="C:\Program Files (x86)\DVDFab 8 Qt\DVDFab.exe"
set MODE="FULLDISC"
set AUDIO="English"
set OUTDISC="dvd5"
rem **********************************************
rem For-Do Loop
rem
rem Note: the code ('dir /B /S "%DVDSOURCE%\*.iso"') generates a list of files
rem using the 'dir' command with the /Brief and /SubDirectories. The 'tokens' are
rem a line out of the list (the 'F'option) that is in the form of a filename
rem (fullpath - %%x)
rem
rem **********************************************
for /F "tokens=*" %%X in ('dir /B /S "%DVDSOURCE%\*.iso"') do (
echo "%%X"
echo "%%~PX%%~nX.%DESTTYPE%"
echo "%%~nX"
echo "%%~xX"
echo "%DESTDIR%\%DESTSUBDIR%\%%~nX.%DESTTYPE%"
echo "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%"
pause
rem **********************************************
rem Check to make sure our dvd9 to dvd5 converted file does not exsist
rem **********************************************
if not exist "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%" (
rem **********************************************
rem Invoke the command line mode of DVDFAB
rem **********************************************
echo /MODE %MODE% /AUDIO %AUDIO% /SRC "%%X" /DEST "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%" /OUTDISC %OUTDISC%
/REMOVEHDAUDIO "no" /CLOSE
%DVDFAB% /MODE %MODE% /AUDIO %AUDIO% /SRC "%%X" /DEST "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%" /OUTDISC %OUTDISC%
/REMOVEHDAUDIO "no" /CLOSE
rem **********************************************
rem rename the source file so it won't get proceeses again if this batch file is stopped and then started again
rem **********************************************
echo "%%X" "%%~nX.xso"
ren "%%X" "%%~nX.xso"
) else (
rem **********************************************
rem if the converted file already exsist, say so
rem **********************************************
echo "File exists "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%"
)
rem **********************************************
rem Close of For-Do Loop
rem **********************************************
pause
)
@echo off
echo DVDFAB Batch Conversion Script - DVD9 to DVD5
rem **********************************************
rem Set Enviromental variables for File locations
rem **********************************************
set DVDSOURCE=C:\Ripcord
set SRCDRV=C:
set DESTDIR=K:
set DESTSUBDIR=ripcord
set DESTTYPE=iso
rem **********************************************
rem Set Enviromental variable for DVDFAB Version
rem
rem Note: (x86) is usualy found on Windows 7 64bit
rem Note: The current version of DVDFAB 9 will crash
rem **********************************************
if exist "C:\Program Files (x86)\DVDFab 9\DVDFab.exe" (
set DVDFAB="C:\Program Files (x86)\DVDFab 9\DVDFab.exe"
goto mDVD )
if exist "C:\Program Files\DVDFab 9\DVDFAB.exe" (
set DVDFAB="C:\Program Files\DVDFab 9\DVDFAB.exe"
goto mDVD )
if exist "C:\Program Files (x86)\DVDFab 8 Qt\DVDFab.exe" (
set DVDFAB="C:\Program Files (x86)\DVDFab 8 Qt\DVDFab.exe"
goto mDVD )
if exist "C:\Program Files\DVDFab 8 QT\DVDFAB.exe" (
set DVDFAB="C:\Program Files\DVDFab 8 QT\DVDFAB.exe"
goto mDVD )
:mDVD
rem set DVDFAB="C:\Program Files (x86)\DVDFab 8 Qt\DVDFab.exe"
set MODE="FULLDISC"
set AUDIO="English"
set OUTDISC="dvd5"
rem **********************************************
rem For-Do Loop
rem
rem Note: the code ('dir /B /S "%DVDSOURCE%\*.iso"') generates a list of files
rem using the 'dir' command with the /Brief and /SubDirectories. The 'tokens' are
rem a line out of the list (the 'F'option) that is in the form of a filename
rem (fullpath - %%x)
rem
rem **********************************************
for /F "tokens=*" %%X in ('dir /B /S "%DVDSOURCE%\*.iso"') do (
echo "%%X"
echo "%%~PX%%~nX.%DESTTYPE%"
echo "%%~nX"
echo "%%~xX"
echo "%DESTDIR%\%DESTSUBDIR%\%%~nX.%DESTTYPE%"
echo "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%"
pause
rem **********************************************
rem Check to make sure our dvd9 to dvd5 converted file does not exsist
rem **********************************************
if not exist "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%" (
rem **********************************************
rem Invoke the command line mode of DVDFAB
rem **********************************************
echo /MODE %MODE% /AUDIO %AUDIO% /SRC "%%X" /DEST "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%" /OUTDISC %OUTDISC%
/REMOVEHDAUDIO "no" /CLOSE
%DVDFAB% /MODE %MODE% /AUDIO %AUDIO% /SRC "%%X" /DEST "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%" /OUTDISC %OUTDISC%
/REMOVEHDAUDIO "no" /CLOSE
rem **********************************************
rem rename the source file so it won't get proceeses again if this batch file is stopped and then started again
rem **********************************************
echo "%%X" "%%~nX.xso"
ren "%%X" "%%~nX.xso"
) else (
rem **********************************************
rem if the converted file already exsist, say so
rem **********************************************
echo "File exists "%DESTDIR%%%~PX%%~nX_dvd5.%DESTTYPE%"
)
rem **********************************************
rem Close of For-Do Loop
rem **********************************************
pause
)
Comment