三種取得現在執行目錄之方法 Posted on 2014-04-08 Edited on 2023-11-24 In VB.NET Views: Disqus: Dim path1 As String = Application.StartupPath 'using system.windows.forms dll Dim path2 As String = My.Application.Info.DirectoryPath 'using 主控台 Dim path3 As String = System.Environment.CurrentDirectory