• Log in or sign up for an account here: https://www.sythe.org/login

I need help with this Batch File

demonreaper1000

Newcomer
Joined
Aug 9, 2010
Sythe Gold
0
Messages
1
I need help with this Batch File
@echo off
Set /p name=What is your name:
If "%name%"=="joe smoe" goto pass
:wrong
cls
echo logging off
Pause
shutdown -s -f -t 00
: pass
cls
Set /p password=Enter Your Password:
If "%password%"=="sythe" goto end
echo ACCESS DENIED!!!
Pause
goto wrong
:end
 
I need help with this Batch File
It works fine.

I tried it
 
I need help with this Batch File
echo logging off
Pause
shutdown -s -f -t 00
Why would you say logging off and then pause it? Someone could close the window and nothing would happen. :O

And to log off, you can use shutdown /l or simply 'logoff'
 
Runescape Gamblingrunescape gambling
Back
Top