|
就是如何用 SQAGetProperty()来获取插入的光盘的名称??
比如 Disk_name = SQAGetProperty(,,)
有人可以帮到我吗?
试过通过注册表才获取,但是要格式化了该光盘了才行,注册表下相关键值才会有记录被格的时候给光盘命的名称~
--------------------------------------------------------------------------
'$Include "WinRegistryUtilities.sbh"
...
Dim Disk_Name As String
...
Rem Get the inserted disk's name from registry
Disk_Name = GetRegistryString (HKEY_CURRENT_USER,"Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\Current Media","Disc Label")
...
--------------------------------------------------------------------------
此外在注册表其他地方未能找到有记录新插入光盘的名称的注册表项,所以现在想寻求另一种解决方案~谢谢各位大虾了! |
|