取得磁碟機的序號
傳回值為字串
Debug.Print myGetSerialNumber("c") ' 傳回 17E6-1873 Debug.Print myGetSerialNumber("d") ' 傳回 17E9-0D74
本函數需參照數學工具模組的變數轉16進位,字串工具模組的 AddFormattoChar 函數
Visual Basic 4 以後 | FileTool.bas
modFileTool 函式庫