- @reg delete "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM" /v OEMName /f > nul 2>nul
-
- @reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM" /v OEMName /t REG_SZ /d "BETOP USB GAMEPAD" /f > nul 2>nul
复制代码
如果鍵值需要雙引號,就這樣
- @reg delete "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM" /v OEMName /f > nul
- @reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM" /v OEMName /t REG_SZ /d "\"BETOP USB GAMEPAD"\" /f > nul
复制代码
[ 本帖最后由 sniperhgy 于 2009-5-19 14:45 编辑 ] |