解决安装sql挂起的批处理
@ECHO OFF
> "%Temp%.\DefOpen.reg" ECHO Windows Registry Editor Version 5.00
>>"%Temp%.\DefOpen.reg" ECHO.
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
>>"%Temp%.\DefOpen.reg" ECHO "PendingFileRenameOperations"=""
START /WAIT REGEDIT /S "%Temp%.\DefOpen.reg"
DEL "%Temp%.\DefOpen.reg"
本文转自 qvodnet 51CTO博客,原文链接:http://blog.51cto.com/bks2015/1605982