Labels:

Password Generator



Picture of Password Generator 
This Batch generates number only passwords. You can choose from 1, 5. or 10 passowrds to show...all random

Code:

@echo off
:Start2
cls
goto Start
:Start
title Password Generator
echo I will make you a new password.
echo Please write the password down somewhere in case you forget it.
echo ----------------------------------------­-----------------------
echo 1) 1 Random Password
echo 2) 5 Random Passwords
echo 3) 10 Random Passwords
echo Input your choice
set input=
set /p input= Choice:
if %input%==1 goto A if NOT goto Start2
if %input%==2 goto B if NOT goto Start2
if %input%==3 goto C if NOT goto Start2
:A
cls
echo Your password is %random%
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
:Exit
exit
:B
cls
echo Your 5 passwords are %random%, %random%, %random%, %random%, %random%.
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
:C
cls
echo Your 10 Passwords are %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2


उपरोक्त कोड कॉपी करके नोट पैड में पेस्ट कर दे
और फ़ाइल को .bat ऍक्सटेंशन  में सेव करे

0 comments:

Post a Comment

ये पोस्ट आपको कैसा लगा इस बारे में कमेंट बॉक्स में अपनी राय जरुर लिखे। यदि ये पोस्ट आपको बेहतर लगा हो तो इसे Like करें और अपने दोस्तों में share करें।

प्रिय मित्र, आप इसी तरह इस ब्लॉग से जुड़े रहे।

धन्यवाद

Related Posts Plugin for WordPress, Blogger...
 
Shreesh Computer World © 2014 | Designed by Canvas Art, in collaboration with Business Listings , Radio stations and Corporate Office Headquarters