共用方式為


使用 Visual Basic 存取檔案

My.Computer.FileSystem 物件提供了使用檔案和資料夾的工具。 其屬性、方法和事件可讓您建立、複製、移動、調查和刪除檔案與資料夾。 My.Computer.FileSystem 不但為 Visual Basic 所提供的舊版函式 (FileOpen、FileClose、Input、InputString、LineInput 等等) 提供回溯相容性,而且效能還要更好。

在本節中