判断光驱里面是否有光盘存在,用.vbs可以这样判断:
dim fso
dim d
set fso=createobject("scripting.filesystemobject")
for each d in fso.drives
if d.drivetype=4 then
if d.isready then
msgbox "有光盘!"
else
msgbox "无光盘"
end if
end if
next
---------------------
不知道用.au3怎么判断?或者如何将上面的.vbs转换为.au3?
请教了,谢谢!