By using this site, you agree to our Privacy Policy and our Terms of Use. Close

PC - Batch file help please. - View Post

Just a quick follow up.
voltest doesn't work in vista, so I downloaded a program called varset.

Here is the batch code if anyone is intersted:

varset label=vol d: > label.bat
call label.bat
md %userprofile%\videos\%label%
"c:\program files\videolan\vlc\vlc.exe" -vvv dvdsimple://d: :sout=#transcode{vcodec=WMV2,vb=1500,scale=1,acodec=wma,ab=96,channels=2}:duplicate{dst=std{access=file,mux=asf,dst="%userprofile%\videos\%label%\%label%.wmv"}}
cscript eject.vbs

http://home.mnet-online.de/horst.muc/int/varset12.zip contains the program that needs to go in the windows folder.

Now all I need to do is work out an easy way of creating a custom autorun handler in vista.