ik ben bezig met Nieuwen Beheerders Board maar
er zitten paar foutjes in batch scrit
er zitten paar foutjes in batch scrit
Code:
@echo off
set /p pass=Wachtwoord:
if "%pass%" == "Cw-2006-2008-sys11" goto oke
:exit
exit;
:oke
cls
echo Lijst van Computers
echo.
echo.
echo code 100
echo code 19a
echo code 12a
echo code 13a
echo code 14a
echo code 15a
echo code 16a
echo code 17a
set /p code=code:
if "%code%" == "100" goto login
if "%code%" == "19a" goto login
if "%code%" == "12a" goto login
if "%code%" == "13a" goto login
if "%code%" == "14a" goto login
if "%code%" == "15a" goto login
if "%code%" == "16a" goto login
if "%code%" == "17a" goto login
:login
cls
echo Welkom Beheerder wat wilt u doen : %code%
echo.
echo Gebruiker Verbannen Kies : 1
echo Gebruiker Bespieden Kies : 2
echo.
echo Gebruikers map Bekijken Kies: 3
set /p Kies=Kies:
if "Kies" == "1" goto ban
if "Kies" == "2" goto besp
if "Kies" == "3" goto map
:ban
cd %code%
rename user.txt user1.txt
echo [ban] >> user.ini
echo ban=1 >>user.ini
echo status klaar
cls
:goto login
:besp
call "cam.exe" == "error" goto login
*msg "ERROR"
goto :login
:map
open "%code%\" == "map"
goto :login