Alright im typing this with no head right now because my brain has - TopicsExpress



          

Alright im typing this with no head right now because my brain has exploded.... please help me with this code... When i type in the correct value for my log in it gives me my own error msg as if i typed in my own log in incorrectly!!! @echo off title LOG IN SCREEN v1.0 color 0a if EXIST username.uf ( if EXIST password.uf ( goto Login )) else (goto Reg) :Reg cls echo Welcome to Register! ping localhost 2 >nul echo Register to continue set /p U=Username: set /p P=Password: echo %U%>username.uf echo %P%>password.uf echo REGISTRATION COMPLETE! pause goto Login :Login cls echo Welcome, Please Login to continue set /p user=Username: set /p pass=Password: if %user%==username.uf ( if %pass%==username.uf ( goto welcome )) else (goto error) :welcome cls echo Welcome to the Test Program! ping localhost -n 2 >nul echo Please Exit and come back when you think echo Program is up! pause exit :error cls echo Error. Input Value = Incorrect echo Error Code = .txt =/ u/p ping localhost -n 2 >nul echo Type goback to go back to previous screen set /p er= if %er%==goback goto Login if not %er%==goback goto error
Posted on: Thu, 04 Jul 2013 06:03:15 +0000

Trending Topics



Recently Viewed Topics




© 2015