@echo off goto check_Permissions :check_Permissions echo Administrative permissions required for some operations. checking permissions echo .. echo ... echo .... echo ............ net session >nul 2>&1 if %errorLevel% == 0 ( echo Administrative methods enabled. ) else ( echo Permissions inadequate for closing restricted progs. ) echo continue? pause @echo off echo type 46692 to exit without a mouse echo continue? pause @echo off :A Color 0F tasklist color 0E set /p progn=prog: IF %progn% EQU 46692 goto B taskkill /im %progn%.exe -f pause goto A :B exitNow that I have returned the posts should be more diverse than just MuBox stuff, was using those while I was gone.
Wednesday, June 17, 2015
Faster Taskkill 4 Windows
Came back from vacation computer was running slow wrote up a quick fix for closing processes after being annoyed by having to constantly type: taskkill /im %progname%.exe -f.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment