close

 

 

1.

  MsgBox(System.Environment.GetFolderPath(Environment.SpecialFolder.Desktop))

  'Environment.SpecialFolder.Desktop 邏輯的 [桌面],而不是實體的檔案系統位置。

 


2.

  MsgBox(System.Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)) 

  'Environment.SpecialFolder.DesktopDirectory 表示用來實際儲存桌面上檔案物件的目錄。 

arrow
arrow
    全站熱搜

    PingPing 發表在 痞客邦 留言(0) 人氣()