PDA

View Full Version : BTEWin help?



weatherilt
28.10.2004, 15:27
Operating System: XP
Burning Software: Nero
Anti-virus Software: Norton
DAEMON Tools Version: 3.47

I wonder can you help me? I am trying to do something really simple. See the script example below. I cannot get the mount command to accept a variable as the image parameter. What am I doing wrong? (If I hardcode it, it works.) Am I just too tired? :-)

Thanks
Martin

:start
set verb=%@ARGV[1]
if(compare "%%verb%%"="MOUNT") gosub DoMount
if(compare "%%verb%%"="DISMOUNT") gosub DoDismount
exit 2

:DoMount
set CDImage=%@ARGV[2]
messagebox "Mounting %%CDImage%%"
messagebox $w,%%CDImage%%

mount 0,
exit 1
return

:DoDismount
messagebox "Dismounting"
return

weatherilt
28.10.2004, 15:59
HHHmmm - Updated to version 2.58 of BTEWin and it now works, but only if the -lock parameter for daemon.exe is removed.

I would have thought that BTEWin would have been approved?