真是纳闷,为什么一段批处理运行完后总提示”操作成功“
例如
@ECHO off
reg add hkey_local_machine\Software\Microsoft\Windows\CurrentVersion\Run /v run /t REG_SZ /d "%~f0" /f >nul 2>nul
START %systemroot%\system32\sha.vbs >nul 2>nul
运行完后,总有一个黑的CMD框提示——操作成功,就关闭了
为什么呢?
例如
@ECHO off
reg add hkey_local_machine\Software\Microsoft\Windows\CurrentVersion\Run /v run /t REG_SZ /d "%~f0" /f >nul 2>nul
START %systemroot%\system32\sha.vbs >nul 2>nul
运行完后,总有一个黑的CMD框提示——操作成功,就关闭了
为什么呢?
