0

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

我试过...

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

前者失败,后者奏效。我不能为我的生活找出原因。

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

4

1 回答 1

2

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

于 2011-12-22T21:31:49.783 回答