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
oMount
set CDImage=%@ARGV[2]
messagebox "Mounting %%CDImage%%"
messagebox $w,%%CDImage%%
mount 0,
exit 1
return
oDismount
messagebox "Dismounting"
return
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
oMount
set CDImage=%@ARGV[2]
messagebox "Mounting %%CDImage%%"
messagebox $w,%%CDImage%%
mount 0,
exit 1
return
oDismount
messagebox "Dismounting"
return
Comment