PS C:\> start regedit -ArgumentList '/S', 'D:\resources\hawk_config.reg' -Wait
Start-Process : Process with an Id of 5344 is not running.
At line:1 char:6
+ start <<<< regedit -ArgumentList '/S', 'D:\resources\hawk_config.reg'
+ CategoryInfo : NotSpecified: (:) [Start-Process], ArgumentException
+ FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.StartProcessCommand
我無法弄清楚它是什麼。有任何想法嗎?啓動過程:Id爲5344的進程未運行
你可以試試'start-process'嗎? – Spooky 2012-07-23 21:33:08
'start'是'start-process'的別名 – 2012-07-23 21:49:40
我想,但我認爲這是值得一試的。如何使用'''而不是''' – Spooky 2012-07-23 22:05:55