|
General Talk And Support General talk and peer-to-peer support about BS.Player and other video and audio multimedia players. |
| LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
A little autorun problem -------------------------------------------------------------------- @ECHO OFF ECHO. ECHO Created By ECHO. if "%OS%" == "Windows_NT" goto OSNT IF EXIST %SystemRoot%\SYSTEM\DivXc32.dll GOTO OK install\nimolitepack10.exe :OSNT IF EXIST %SystemRoot%\SYSTEM32\DivXc32.dll GOTO OK install\nimolitepack10.exe :OK START bplay "..\Harry Potter - The Chamber of Secrets CD1.avi" "..\Harry Potter - The Chamber of Secrets CD1.srt" -fs -eend --------------------------------------------------------------------------------- It works fine when i execute it from harddisk but not when it autoplays when the cd is inserted. it says it can not locate bplay I think that is because the scripts doesn't know were bplay is wile it is executing (difficult for me to explain myself in englisch, sorry) So, does anyone know if there is a command for the cd-rom like %cdrom% or something. Just like %systemroot% etc. ps. I didn't actually burn it to disk, i made an iso and used daemon tools to load it. This should make no difference compared to a real cd. I would realy apreciate any help. leki Last edited by lekiam; 19th September 2010 at 01:13 AM. |
| |||
it seems that this makes it work: replacing: START bplay with: START bsplay\bplay But now it only works from cd, and not harddisk lol But still, i am curieus to know if there is a command like %cdrom% (command is probably not the right word) ps. ...computers are wierd... |
| |||
i wish i had known this before, if the subtitle file is the same as the movie file it is automaticly added. This is a very nice feature if i had not already burned my cd's. now the subtitle is displayed twice. lol so, here comes another question. does this work with all subtitle formats? or just a few? i should have left that part of the command line refering to the subtile out. Shit happens... |
Tags |
autorun |
| |