Sabtu, 12 Juni 2010

Create Account Log In-Sign Up-Exit the Batch File Programming


Today. I've gained a little knowledge of the CMD. namely creating an account Log In-Exit-Sign Upyes hopefully this program can make your heart a little happy (g 'connect)!
This is just an ordinary program. .nothing special about this program. .
For those of you who want to try. .This is for you. .
STEP 2 Follow the following:

1.open Notepad2.Copy - Paste the script into Notepad Below3.save with the name "apasaja.bat"
  
type: "all files"



@echo off
color 0a
echo ==========================================
echo = silahkan daftar/sign up terlebih dahulu=
echo ==========================================
echo.
:awal
echo [1].Log in
echo.
echo [2].Sign Up
echo.
echo [3].Exit
echo.
set /p a= :
cls
if %a%==1 goto:login1
if %a%==2 goto:signup
if %a%==3 goto:exit
goto:awal

:login1
set /p user= :username  : 
cls
if %user%==%userx% goto:login2
echo.
goto:login1
echo.

:login2
set /p pass= :password  : 
cls
if %pass%==%passx% echo "Password Diterima"
cls
if %pass%==%passx% goto:chandra
goto:login2


cls

goto:awal

:signup
set /p userx= : User_Name    : 
echo.
set /p passx= : new_password : 
cls
goto:awal

:chandra
echo Selamat Datang kepada %userx%
echo.
echo ini Hanyalah sebuah Pembelajaran saja
echo.
echo Untuk Info lebih lanjut
echo.
echo HUB : muhammadchandra.blogspot.com
pause>nul
cls

goto:awal
goto:chandra

Good luck Yes. .berkenang hopefully in your heart. .


Tidak ada komentar:

Posting Komentar