Process.Start和dfsdiag.exe的奇怪行为

时间:2011-12-21 06:28:52

标签: c# .net windows dfs

DfsDiag.exe默认位于C:\windows\system32。我尝试使用Process.Start启动它的过程,但我似乎总是得到错误The system cannot find the file specified。 到目前为止,我似乎没有其他任何问题。

我试过......

  • 指定完整路径@"C:\Windows\System32\DfsDiag.exe"
  • 将文件复制到正在运行的目录。

前者在后者工作时失败了。我不能为我的生活找出原因。

(操作系统是Windows Server Standard 2008 R2)

1 个答案:

答案 0 :(得分:2)

32位应用?你已经犯了文件系统重定向。试试C:\ Windows \ SysNative。

相关问题