我想我需要在这里躲过特殊字符:VisualStudio中 - 如何摆脱这种字符
Process.Start(userSelectedFilePath, "\u0007" & ThisDir.Path & "\u000B" & checkedpath1 & "\u0007")
结果必须是这样的:userselecfilepath“一blackquoted路径\和其他文件夹”
什么我做错了?
三江源
UPDATE
解决方案:
ControlChars.Quote & Path.Combine(ThisDir.Path, checkedpath1) & ControlChars.Quote
它说我没有“路径”声明,我需要做什么?无论如何,我需要在“ThisDir.Path \ checkedpath”之间加一个斜杠,而不是组合,所以我认为你的例子不适合我...也许我worng,谢谢你 – ElektroStudios
确保你参考'System.IO' 。 'Path.Combine'将添加到'/' – hunter
再次感谢,我的最终解决方案是:ControlChars.Quote&Path.Combine(ThisDir.Path,checkedpath1)&ControlChars.Quote – ElektroStudios