byedpi/dist/windows/service_restart.bat

13 lines
277 B
Batchfile
Raw Permalink Normal View History

2024-04-27 20:29:40 +00:00
@echo off
title ByeDPI - Restart Service
echo This script should be run with administrator privileges.
echo Right click - run as administrator.
echo Press any key if you're running it as administrator.
pause
set svc_name="ByeDPI"
sc stop %svc_name%
sc start %svc_name%
pause