寻找标准的防错方法将"长名称"(如"C:\ Documents and settings")转换为等效的"短名称""C:\ DOCUME~1"
我需要这个来运行我的C#应用程序的外部进程.如果我用"长名称"中的路径提供它,它就会失败.
.net quotes path
.net ×1
path ×1
quotes ×1