[Wine] CMD.exe script question
Queeg
wineforum-user at winehq.org
Wed Jul 7 14:36:21 CDT 2010
I need help making a windows batch script work in wine.
I a total newbie to wine. I copied the script from a windows machine where it runs correctly. The first line is supposed to discover the name of the DVD in drive D. The %vole% is being converted into the letter I.
--This is in the cmd file.
for /F "tokens=6" %%I in ( 'vol d: ^| find /i "volume in"' ) DO (SET vole=%%I)
echo Processing %vole%
echo Starting Rip of Drive d:
time /t
"C:\Program Files\DVDFab 7\DVDFab.exe" /mode fulldisc /SUBTITLE "none" /src "d:\" /dest "C:\Movie\%vole%-dvd.iso" /Title auto /outdisc dvd9 /close
--This is from the cmd.exe terminal window
C:\bin>for /F "tokens=6" %I in ( 'vol d: ^| find /i "volume in"' ) DO (SET vole=%I)
fixme:cmd:WCMD_for /F needs to handle options
Syntax error
wine: cannot find L"C:\\windows\\system32\\'vol.exe"
File not found
wine: cannot find L"C:\\windows\\system32\\find.exe"
File not found
wine: cannot find L"C:\\windows\\system32\\DO.exe"
File not found
C:\bin>echo Processing I
Processing I
C:\bin>echo Starting Rip of Drive d:
Starting Rip of Drive d:
C:\bin>time /t
Current Time is 11:41:09 PM
C:\bin>"C:\Program Files\DVDFab 7\DVDFab.exe" /mode fulldisc /SUBTITLE "none" /src "d:\" /dest "C:\Movie\I-dvd.iso" /Title auto /outdisc dvd9 /close
More information about the wine-users
mailing list