VB.NET 路徑合併 IO.Path.Combine
IO.Path.Combine("\\127.0.0.1", "D:\") 結果為 "D:\"
IO.Path.Combine("D:", "Test.txt") 結果為 "D:Test.txt" <= 錯誤
IO.Path.Combine("D:\", "Test.txt") 結果為 "D:\Test.txt" <= 正確
IO.Path.Combine("D:", "Test.txt") 結果為 "D:Test.txt" <= 錯誤
IO.Path.Combine("D:\", "Test.txt") 結果為 "D:\Test.txt" <= 正確
留言