close
1.
MsgBox(System.Environment.GetFolderPath(Environment.SpecialFolder.Desktop))
'Environment.SpecialFolder.Desktop 邏輯的 [桌面],而不是實體的檔案系統位置。
2.
MsgBox(System.Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory))
'Environment.SpecialFolder.DesktopDirectory 表示用來實際儲存桌面上檔案物件的目錄。
全站熱搜
留言列表