mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
Replace “find” with “findstr” in batches (#764)
* Update service-install.bat * Update service-restart.bat * Update service-uninstall.bat
This commit is contained in:
parent
85abbeac61
commit
a389067d29
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
setlocal EnableExtensions
|
||||
title DNSCrypt-Proxy
|
||||
|
||||
whoami /groups | find "S-1-16-12288" >nul && goto :admin
|
||||
whoami /groups | findstr "S-1-16-12288" >nul && goto :admin
|
||||
if "%~1"=="RunAsAdmin" goto :error
|
||||
|
||||
echo Requesting privileges elevation for managing the dnscrypt-proxy service . . .
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
setlocal EnableExtensions
|
||||
title DNSCrypt-Proxy
|
||||
|
||||
whoami /groups | find "S-1-16-12288" >nul && goto :admin
|
||||
whoami /groups | findstr "S-1-16-12288" >nul && goto :admin
|
||||
if "%~1"=="RunAsAdmin" goto :error
|
||||
|
||||
echo Requesting privileges elevation for managing the dnscrypt-proxy service . . .
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
setlocal EnableExtensions
|
||||
title DNSCrypt-Proxy
|
||||
|
||||
whoami /groups | find "S-1-16-12288" >nul && goto :admin
|
||||
whoami /groups | findstr "S-1-16-12288" >nul && goto :admin
|
||||
if "%~1"=="RunAsAdmin" goto :error
|
||||
|
||||
echo Requesting privileges elevation for managing the dnscrypt-proxy service . . .
|
||||
|
|
Loading…
Add table
Reference in a new issue