共用方式為


FileSystem.CurDir 方法

傳回表示目前路徑的字串。My.Computer.FileSystem 物件 提供比 CurDir 更強的檔案 I/O 作業產能和效能。如需詳細資訊,請參閱 My.Computer.FileSystem.CurrentDirectory 屬性

多載清單

名稱 說明
FileSystem.CurDir () 傳回表示目前路徑的字串。My.Computer.FileSystem 物件 提供比 CurDir 更強的檔案 I/O 作業產能和效能。如需詳細資訊,請參閱 My.Computer.FileSystem.CurrentDirectory 屬性
FileSystem.CurDir (Char) 傳回表示目前路徑的字串。My.Computer.FileSystem 物件 提供比 CurDir 更強的檔案 I/O 作業產能和效能。如需詳細資訊,請參閱 My.Computer.FileSystem.CurrentDirectory 屬性

請參閱

參考

FileSystem 類別
FileSystem 成員
Microsoft.VisualBasic 命名空間
IOException Class
ArgumentException Class

其他資源

CurDir 函式
ChDir 函式
ChDrive 函式
MkDir 函式
RmDir 函式