【发布时间】:2012-11-05 10:31:53
【问题描述】:
我想我需要在这里转义特殊字符:
Process.Start(userSelectedFilePath, "\u0007" & ThisDir.Path & "\u000B" & checkedpath1 & "\u0007")
结果需要像:userelecfilepath "a blackquoted path\and other folder"
我做错了什么?
谢谢
更新
解决方案:
ControlChars.Quote & Path.Combine(ThisDir.Path, checkedpath1) & ControlChars.Quote
【问题讨论】:
标签: visual-studio escaping character special-characters unicode-escapes