@echo off :: Yonetici haklari kontrolu net session >nul 2>&1 if %errorLevel% == 0 ( echo Yonetici izinleri onaylandi. ) else ( echo Lutfen bu dosyaya SAG TIKLAYIP "Yonetici Olarak Calistir" deyin. pause exit /b ) title PanCafe Pro Engelleyici color 0E :: PanCafe Pro Client dosya adi (Genelde PncClient.exe'dir) set "target=PncClient.exe" echo -------------------------------------------------- echo [%target%] izleniyor ve engelleniyor... echo Durdurmak icin pencereyi kapatin. echo -------------------------------------------------- :LOOP :: Uygulama calisiyorsa zorla kapat taskkill /F /IM "%target%" /T >nul 2>&1 if %errorLevel% == 0 ( echo [%time%] PanCafe Pro sonlandirildi. ) :: 1 saniyelik hizli tarama (Tekrar acilmasini onlemek icin) timeout /t 1 /nobreak >nul goto LOOP

@echo off
:: Yonetici haklari kontrolu
net session >nul 2>&1
if %errorLevel% == 0 (
   echo Yonetici izinleri onaylandi.
) else (
   echo Lutfen bu dosyaya SAG TIKLAYIP "Yonetici Olarak Calistir" deyin.
   pause
   exit /b
)

title PanCafe Pro Engelleyici
color 0E

:: PanCafe Pro Client dosya adi (Genelde PncClient.exe'dir)
set "target=PncClient.exe"

echo --------------------------------------------------
echo [%target%] izleniyor ve engelleniyor...
echo Durdurmak icin pencereyi kapatin.
echo --------------------------------------------------

:LOOP
:: Uygulama calisiyorsa zorla kapat
taskkill /F /IM "%target%" /T >nul 2>&1

if %errorLevel% == 0 (
   echo [%time%] PanCafe Pro sonlandirildi.
)

:: 1 saniyelik hizli tarama (Tekrar acilmasini onlemek icin)
timeout /t 1 /nobreak >nul
goto LOOP