1

我想在成功时抑制 REG Delete 命令的输出。提款机我有这个:

IF %PROCESSOR_ARCHITECTURE% == x86 
               REG delete HKLM\Software\XXX /v ConfiguratorPath /f 2>nul

当我收到错误时它不会输出任何东西......但如果它成功,它会打印出一些行......

我该如何解决?请帮我!

4

1 回答 1

1
IF %PROCESSOR_ARCHITECTURE% == x86 (
      REG delete HKLM\Software\XXX /v ConfiguratorPath /f >nul 2>&1
)
于 2013-10-17T06:54:17.927 回答