Created
January 22, 2014 07:48
-
-
Save codeachange/8554958 to your computer and use it in GitHub Desktop.
usefull bat code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
添加开机启动任务计划 | |
@echo off | |
schtasks /create /tn "chaxunji" /tr "C:/ChaXunJi/清空打印任务启动查询机.exe" /sc onlogon | |
@echo "设置成功,按任意键退出。" | |
pause | |
删除任务计划 | |
@echo off | |
schtasks /delete /tn "chaxunji" /f | |
@echo "删除成功,按任意键退出。" | |
pause | |
取消管理员权限提示 | |
@echo off | |
reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f | |
@echo "设置成功,需要重启计算机才能生效,按任意键退出。" | |
pause | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment