Calling command line conversion with space in file name
Posted: 18 Jan 2011 22:25
Hello,
I am using the following script to convert all .wma files in a given directory to mp3s.
It works fine, except when there are spaces in the .wma file name. I tried adding double quotations around %%a, but still no luck. Does anyone have any ideas?
I am using the following script to convert all .wma files in a given directory to mp3s.
Code: Select all
for %%a in (*.wma) do cmd /c "C:\Program Files\videoLAN\VLC\vlc" -I dummy -vvv %%a
--sout=#transcode{acodec=mp3,ab=64}:standard{access=file,dst=%%a.mp3} vlc://quit