loading
Hey there Instructables community! I'v decided to share to you how to make a very simple Password Batch file that will run through the command prompt. This is my very first Instructable, so please be gentle with the comments, but tell me if theres anything that needs to be added or clarified. Ready? LETS DO THIS!

Step 1: What You Need To Know

First off, you need some basic training in batch scripting if you have no clue as to what your doing!
If you already know, please, feel free to skip ahead to step 2. But here I will give you some of the basic "vocab" you will see in many basic batch files.
To start, you will almost always need to start your batch file off with this first line
"@ echo off" This line allows you to create text in your batch file with the "Echo" command, and it makes sure you don't see the "echo" part while the file is running.
"Echo" command is the syntax that allows for text to be seen in the batch file. simply use this line of code to create any text you wish
"Echo Your Text Here"
The third most common script you will see in this instructable is the "ping localhost" line. What this does is wait a set amount of time (in seconds) until the next line of script can be run. The command is as follows...
"ping localhost -n {time in seconds here} >nul"
Then to close any script of the entire program, depending on where you put this code, use this...
"cls"
this really doesn't need to be explained too much more.
And finally, before any of this can begin, you must have Notepad open in order to do any scripting.
Pleas continue to Step 2.
<p>IF YOU ARE LOOKING FOR A MORE SECURED PASSWORD, READ THIS! </p><p>To be honest the Batch file doesn't really password protect a folder because anyone could chose to edit the file, and thus giving that user the access to the password. You could turn it into an EXE, but what is stopping anyone from reversing the EXE file back into a Batch file. The Batch file doesn't actually turn into an EXE file, it's just wrapped in a EXE file like a gift inside a box. Causing any affects added to it to also be pointless in regarding towards preventing user's from seeing the password. So there is ultimately only one option to keep people from accessing your information, and that is encryption. Yes a EXE can encrypt a batch file, but only while it's an EXE format. If it's turned back into a Batch file, it's content is no longer encrypted. And since barely anyone actually understands how to advance encrypt a Batch file's content. luckily I do, And i'm extremely good at it too. So that's why I decided to make a fully encrypted batch password program 100% guaranteed to give who ever is trying to decrypt it a living nightmare of confusion. (And doesn't require a EXE file to work ether, although you could still chose to change the Batch file into an Executable file if you desire to). Also if anyone would like some of your code encrypted, I can do it for you for no charge, why? Because I honestly enjoy creating encrypted software for the sake education in myself &amp; others as well. I can do Batch, VBScript, and JavaScript encryption. So if you would like my help just send me a comment in one of my pages or if you want a better chance with getting contact with me you can email me at &quot;jacobgilbert123@yahoo.com&quot; or &quot;jacobgilbrt123@gmail.com&quot; (Without quotes). Just please note that you must explain what it is that your code is doing first before you expect me to automatically understand what i'm trying to encrypt. No point in scanning it to see if it is safe because even it was a dangerous program, Antivirus wouldn't detect it because it's not so simple to detect. But Don't worry it's not dangerous though. I'm not risking my educational goals going to jail for damage of other peoples devices. Especially when we all share the same interest in the absolute beauty that is programming. This code does not create a password locking folder but it does add a password to the beginning of the file it's self, so if you wish to add the option of adding a locking folder, you still have the availability of adding that option at the very end of this script. (Feel free to check my Inscrutables and/or Follow my account, it will be greatly appreciated because I am new to this sight and have worked hard on some of my Instructables but have received zero notice in any of my pages in six weeks)! Anyway here is the code for you guys, it's really long though but i hope it makes you guys happy. Copy between the &quot;XXXX&quot; signs~</p><p>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</p><p>@echo off<br>color 0a<br>echo &Eacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&raquo;<br>echo &ordm; Zask's Encripted Password Directory! &ordm;<br>echo &Egrave;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&Iacute;&frac14;<br>echo.<br><br><br>Rem Encryption .A<br>set zneu=xss<br>set zneu=s<br>GoTo zneu<br>set zneu=yj<br>:zneu<br>set xbre=sdy<br>set xbre=e<br>GoTo xbre<br>set xbre=zm<br>:xbre<br>set eyut=sym<br>set eyut=t<br>GoTo eyut<br>set eyut=bx<br>:eyut<br>%zneu%%xbre%%eyut% dv=jec<br>%zneu%%xbre%%eyut% dv=a<br>GoTo dv<br>%zneu%%xbre%%eyut% dv=vd<br>:dv<br>%zneu%%xbre%%eyut% ae=xfc<br>%zneu%%xbre%%eyut% ae=b<br>GoTo ae<br>%zneu%%xbre%%eyut% ae=iv<br>:ae<br>%zneu%%xbre%%eyut% pl=zro<br>%zneu%%xbre%%eyut% pl=c<br>GoTo pl<br>%zneu%%xbre%%eyut% pl=gq<br>:pl<br>%zneu%%xbre%%eyut% wd=oyq<br>%zneu%%xbre%%eyut% wd=d<br>GoTo wd<br>%zneu%%xbre%%eyut% wd=sg<br>:wd<br>%zneu%%xbre%%eyut% wz=vsj<br>%zneu%%xbre%%eyut% wz=e<br>GoTo wz<br>%zneu%%xbre%%eyut% wz=in<br>:wz<br>%zneu%%xbre%%eyut% yy=unv<br>%zneu%%xbre%%eyut% yy=f<br>GoTo yy<br>%zneu%%xbre%%eyut% yy=av<br>:yy<br>%zneu%%xbre%%eyut% zw=qsk<br>%zneu%%xbre%%eyut% zw=g<br>GoTo zw<br>%zneu%%xbre%%eyut% zw=vq<br>:zw<br>%zneu%%xbre%%eyut% oq=zuo<br>%zneu%%xbre%%eyut% oq=h<br>GoTo oq<br>%zneu%%xbre%%eyut% oq=me<br>:oq<br>%zneu%%xbre%%eyut% jl=cvz<br>%zneu%%xbre%%eyut% jl=i<br>GoTo jl<br>%zneu%%xbre%%eyut% jl=cc<br>:jl<br>%zneu%%xbre%%eyut% hk=ooj<br>%zneu%%xbre%%eyut% hk=j<br>GoTo hk<br>%zneu%%xbre%%eyut% hk=bj<br>:hk<br>%zneu%%xbre%%eyut% lf=hsh<br>%zneu%%xbre%%eyut% lf=k<br>GoTo lf<br>%zneu%%xbre%%eyut% lf=gl<br>:lf<br>%zneu%%xbre%%eyut% kb=vps<br>%zneu%%xbre%%eyut% kb=l<br>GoTo kb<br>%zneu%%xbre%%eyut% kb=fl<br>:kb<br>%zneu%%xbre%%eyut% yo=fsh<br>%zneu%%xbre%%eyut% yo=m<br>GoTo yo<br>%zneu%%xbre%%eyut% yo=ce<br>:yo<br>%zneu%%xbre%%eyut% ow=epj<br>%zneu%%xbre%%eyut% ow=n<br>GoTo ow<br>%zneu%%xbre%%eyut% ow=ho<br>:ow<br>%zneu%%xbre%%eyut% sq=wxs<br>%zneu%%xbre%%eyut% sq=o<br>GoTo sq<br>%zneu%%xbre%%eyut% sq=vb<br>:sq<br>%zneu%%xbre%%eyut% jm=khg<br>%zneu%%xbre%%eyut% jm=p<br>GoTo jm<br>%zneu%%xbre%%eyut% jm=jd<br>:jm<br>%zneu%%xbre%%eyut% xz=oup<br>%zneu%%xbre%%eyut% xz=q<br>GoTo xz<br>%zneu%%xbre%%eyut% xz=gf<br>:xz<br>%zneu%%xbre%%eyut% wr=mfq<br>%zneu%%xbre%%eyut% wr=r<br>GoTo wr<br>%zneu%%xbre%%eyut% wr=ar<br>:wr<br>%zneu%%xbre%%eyut% ep=bdi<br>%zneu%%xbre%%eyut% ep=s<br>GoTo ep<br>%zneu%%xbre%%eyut% ep=xa<br>:ep<br>%zneu%%xbre%%eyut% uc=kis<br>%zneu%%xbre%%eyut% uc=t<br>GoTo uc<br>%zneu%%xbre%%eyut% uc=tk<br>:uc<br>%zneu%%xbre%%eyut% rs=dkq<br>%zneu%%xbre%%eyut% rs=u<br>GoTo rs<br>%zneu%%xbre%%eyut% rs=iy<br>:rs<br>%zneu%%xbre%%eyut% gi=zeg<br>%zneu%%xbre%%eyut% gi=v<br>GoTo gi<br>%zneu%%xbre%%eyut% gi=po<br>:gi<br>%zneu%%xbre%%eyut% ne=azo<br>%zneu%%xbre%%eyut% ne=w<br>GoTo ne<br>%zneu%%xbre%%eyut% ne=ot<br>:ne<br>%zneu%%xbre%%eyut% fp=hym<br>%zneu%%xbre%%eyut% fp=x<br>GoTo fp<br>%zneu%%xbre%%eyut% fp=jn<br>:fp<br>%zneu%%xbre%%eyut% es=knd<br>%zneu%%xbre%%eyut% es=y<br>GoTo es<br>%zneu%%xbre%%eyut% es=fc<br>:es<br>%zneu%%xbre%%eyut% gu=qsx<br>%zneu%%xbre%%eyut% gu=z<br>GoTo gu<br>%zneu%%xbre%%eyut% gu=qf<br>:gu<br>%zneu%%xbre%%eyut% yn=bfj<br>%zneu%%xbre%%eyut% yn=GoTo yn<br>%zneu%%xbre%%eyut% yn=ii<br>:yn<br><br><br>%jl%%yy% %ow%%sq%%uc% %wz%%fp%%jl%%ep%%uc% &quot;C:\P%ep%%ne%%wr%%wd%.Z%dv%%ep%%lf%\&quot; (<br> %yo%%lf%%wd%%jl%%wr% &quot;C:\P%ep%%ne%%wr%%wd%.Z%dv%%ep%%lf%\&quot;<br> %jl%%yy% &quot;!%wz%%wr%%wr%%sq%%wr%%kb%%wz%%gi%%wz%%kb%!&quot; EQU &quot;0&quot; (<br> %zw%%sq%%uc%%sq% D%jl%%wr%%wz%%pl%%uc%%sq%%wr%%es%E%fp%%jl%%ep%%uc%<br> ) %wz%%kb%%ep%%wz% (<br> %wz%%pl%%oq%%sq% C%wr%%wz%%dv%%uc%%wz%%wd% %uc%%oq%%wz% %yy%%sq%%kb%%wd%%wz%%wr% &quot;C:\P%ep%%ne%%wr%%wd%.Z%dv%%ep%%lf%&quot; &amp; %uc%%jl%%yo%%wz%%sq%%rs%%uc% /%uc% 5 <br> )<br>) %wz%%kb%%ep%%wz% (<br> %zw%%sq%%uc%%sq% D%jl%%wr%%wz%%pl%%uc%%sq%%wr%%es%E%fp%%jl%%ep%%uc%<br>)<br>Rem Encryption .A<br><br><br>:DirectoryExist<br><br><br>Rem Encryption .B<br>set nyog=irc<br>set nyog=s<br>GoTo nyog<br>set nyog=wi<br>:nyog<br>set mpef=qad<br>set mpef=e<br>GoTo mpef<br>set mpef=ux<br>:mpef<br>set lljr=sgf<br>set lljr=t<br>GoTo lljr<br>set lljr=qs<br>:lljr<br>%nyog%%mpef%%lljr% vb=uoo<br>%nyog%%mpef%%lljr% vb=a<br>GoTo vb<br>%nyog%%mpef%%lljr% vb=em<br>:vb<br>%nyog%%mpef%%lljr% hi=swm<br>%nyog%%mpef%%lljr% hi=b<br>GoTo hi<br>%nyog%%mpef%%lljr% hi=vw<br>:hi<br>%nyog%%mpef%%lljr% lr=pvc<br>%nyog%%mpef%%lljr% lr=c<br>GoTo lr<br>%nyog%%mpef%%lljr% lr=kt<br>:lr<br>%nyog%%mpef%%lljr% pc=vog<br>%nyog%%mpef%%lljr% pc=d<br>GoTo pc<br>%nyog%%mpef%%lljr% pc=ns<br>:pc<br>%nyog%%mpef%%lljr% oi=zju<br>%nyog%%mpef%%lljr% oi=e<br>GoTo oi<br>%nyog%%mpef%%lljr% oi=rl<br>:oi<br>%nyog%%mpef%%lljr% yj=ejd<br>%nyog%%mpef%%lljr% yj=f<br>GoTo yj<br>%nyog%%mpef%%lljr% yj=ce<br>:yj<br>%nyog%%mpef%%lljr% cz=tvn<br>%nyog%%mpef%%lljr% cz=g<br>GoTo cz<br>%nyog%%mpef%%lljr% cz=wz<br>:cz<br>%nyog%%mpef%%lljr% uy=xgf<br>%nyog%%mpef%%lljr% uy=h<br>GoTo uy<br>%nyog%%mpef%%lljr% uy=gm<br>:uy<br>%nyog%%mpef%%lljr% dx=idw<br>%nyog%%mpef%%lljr% dx=i<br>GoTo dx<br>%nyog%%mpef%%lljr% dx=vo<br>:dx<br>%nyog%%mpef%%lljr% qz=uxg<br>%nyog%%mpef%%lljr% qz=j<br>GoTo qz<br>%nyog%%mpef%%lljr% qz=nj<br>:qz<br>%nyog%%mpef%%lljr% xj=dce<br>%nyog%%mpef%%lljr% xj=k<br>GoTo xj<br>%nyog%%mpef%%lljr% xj=gq<br>:xj<br>%nyog%%mpef%%lljr% bx=iwl<br>%nyog%%mpef%%lljr% bx=l<br>GoTo bx<br>%nyog%%mpef%%lljr% bx=xf<br>:bx<br>%nyog%%mpef%%lljr% pl=snt<br>%nyog%%mpef%%lljr% pl=m<br>GoTo pl<br>%nyog%%mpef%%lljr% pl=sv<br>:pl<br>%nyog%%mpef%%lljr% rd=opt<br>%nyog%%mpef%%lljr% rd=n<br>GoTo rd<br>%nyog%%mpef%%lljr% rd=zu<br>:rd<br>%nyog%%mpef%%lljr% wf=bqj<br>%nyog%%mpef%%lljr% wf=o<br>GoTo wf<br>%nyog%%mpef%%lljr% wf=ay<br>:wf<br>%nyog%%mpef%%lljr% xv=yon<br>%nyog%%mpef%%lljr% xv=p<br>GoTo xv<br>%nyog%%mpef%%lljr% xv=xd<br>:xv<br>%nyog%%mpef%%lljr% ve=vyv<br>%nyog%%mpef%%lljr% ve=q<br>GoTo ve<br>%nyog%%mpef%%lljr% ve=gs<br>:ve<br>%nyog%%mpef%%lljr% dy=dwx<br>%nyog%%mpef%%lljr% dy=r<br>GoTo dy<br>%nyog%%mpef%%lljr% dy=lm<br>:dy<br>%nyog%%mpef%%lljr% jw=hde<br>%nyog%%mpef%%lljr% jw=s<br>GoTo jw<br>%nyog%%mpef%%lljr% jw=ka<br>:jw<br>%nyog%%mpef%%lljr% yz=jca<br>%nyog%%mpef%%lljr% yz=t<br>GoTo yz<br>%nyog%%mpef%%lljr% yz=xr<br>:yz<br>%nyog%%mpef%%lljr% nc=uoj<br>%nyog%%mpef%%lljr% nc=u<br>GoTo nc<br>%nyog%%mpef%%lljr% nc=lm<br>:nc<br>%nyog%%mpef%%lljr% vz=opm<br>%nyog%%mpef%%lljr% vz=v<br>GoTo vz<br>%nyog%%mpef%%lljr% vz=en<br>:vz<br>%nyog%%mpef%%lljr% eo=vlf<br>%nyog%%mpef%%lljr% eo=w<br>GoTo eo<br>%nyog%%mpef%%lljr% eo=ck<br>:eo<br>%nyog%%mpef%%lljr% pk=edn<br>%nyog%%mpef%%lljr% pk=x<br>GoTo pk<br>%nyog%%mpef%%lljr% pk=cu<br>:pk<br>%nyog%%mpef%%lljr% dd=osw<br>%nyog%%mpef%%lljr% dd=y<br>GoTo dd<br>%nyog%%mpef%%lljr% dd=qa<br>:dd<br>%nyog%%mpef%%lljr% qp=lcf<br>%nyog%%mpef%%lljr% qp=z<br>GoTo qp<br>%nyog%%mpef%%lljr% qp=os<br>:qp<br>%nyog%%mpef%%lljr% bh=ngg<br>%nyog%%mpef%%lljr% bh=GoTo bh<br>%nyog%%mpef%%lljr% bh=kj<br>:bh<br><br><br><br>%dx%%yj% %oi%%pk%%dx%%jw%%yz% C:\P%jw%%eo%%dy%%pc%.Z%vb%%jw%%xj%\P%vb%%jw%%jw%%eo%%wf%%dy%%pc%.Z%vb%%jw%%xj% (<br> %cz%%wf%%yz%%wf% P%vb%%jw%%jw%%eo%%wf%%dy%%pc%E%pk%%dx%%jw%%yz%<br>) %oi%%bx%%jw%%oi% (<br> %cz%%wf%%yz%%wf% C%dy%%oi%%vb%%yz%%oi%P%vb%%jw%%jw%%eo%%wf%%dy%%pc%S%lr%%dy%%oi%%oi%%rd%<br>)<br>Rem Encryption .B<br><br><br>:PasswordExist<br><br><br>Rem Encryption .C<br>set trkc=crp<br>set trkc=s<br>GoTo trkc<br>set trkc=fr<br>:trkc<br>set kgcc=izk<br>set kgcc=e<br>GoTo kgcc<br>set kgcc=un<br>:kgcc<br>set udlf=xgs<br>set udlf=t<br>GoTo udlf<br>set udlf=vi<br>:udlf<br>%trkc%%kgcc%%udlf% ud=xfz<br>%trkc%%kgcc%%udlf% ud=a<br>GoTo ud<br>%trkc%%kgcc%%udlf% ud=ku<br>:ud<br>%trkc%%kgcc%%udlf% ty=taj<br>%trkc%%kgcc%%udlf% ty=b<br>GoTo ty<br>%trkc%%kgcc%%udlf% ty=kt<br>:ty<br>%trkc%%kgcc%%udlf% ix=pcu<br>%trkc%%kgcc%%udlf% ix=c<br>GoTo ix<br>%trkc%%kgcc%%udlf% ix=gq<br>:ix<br>%trkc%%kgcc%%udlf% ze=dbn<br>%trkc%%kgcc%%udlf% ze=d<br>GoTo ze<br>%trkc%%kgcc%%udlf% ze=oj<br>:ze<br>%trkc%%kgcc%%udlf% mh=ixr<br>%trkc%%kgcc%%udlf% mh=e<br>GoTo mh<br>%trkc%%kgcc%%udlf% mh=of<br>:mh<br>%trkc%%kgcc%%udlf% pw=frb<br>%trkc%%kgcc%%udlf% pw=f<br>GoTo pw<br>%trkc%%kgcc%%udlf% pw=fl<br>:pw<br>%trkc%%kgcc%%udlf% ro=ofj<br>%trkc%%kgcc%%udlf% ro=g<br>GoTo ro<br>%trkc%%kgcc%%udlf% ro=ok<br>:ro<br>%trkc%%kgcc%%udlf% lm=cjb<br>%trkc%%kgcc%%udlf% lm=h<br>GoTo lm<br>%trkc%%kgcc%%udlf% lm=mu<br>:lm<br>%trkc%%kgcc%%udlf% kn=ivx<br>%trkc%%kgcc%%udlf% kn=i<br>GoTo kn<br>%trkc%%kgcc%%udlf% kn=mi<br>:kn<br>%trkc%%kgcc%%udlf% hk=uis<br>%trkc%%kgcc%%udlf% hk=j<br>GoTo hk<br>%trkc%%kgcc%%udlf% hk=aq<br>:hk<br>%trkc%%kgcc%%udlf% cz=yzv<br>%trkc%%kgcc%%udlf% cz=k<br>GoTo cz<br>%trkc%%kgcc%%udlf% cz=ie<br>:cz<br>%trkc%%kgcc%%udlf% lh=voa<br>%trkc%%kgcc%%udlf% lh=l<br>GoTo lh<br>%trkc%%kgcc%%udlf% lh=rs<br>:lh<br>%trkc%%kgcc%%udlf% bj=fjg<br>%trkc%%kgcc%%udlf% bj=m<br>GoTo bj<br>%trkc%%kgcc%%udlf% bj=jt<br>:bj<br>%trkc%%kgcc%%udlf% mc=rpd<br>%trkc%%kgcc%%udlf% mc=n<br>GoTo mc<br>%trkc%%kgcc%%udlf% mc=zs<br>:mc<br>%trkc%%kgcc%%udlf% qq=xzw<br>%trkc%%kgcc%%udlf% qq=o<br>GoTo qq<br>%trkc%%kgcc%%udlf% qq=dd<br>:qq<br>%trkc%%kgcc%%udlf% jw=wux<br>%trkc%%kgcc%%udlf% jw=p<br>GoTo jw<br>%trkc%%kgcc%%udlf% jw=vk<br>:jw<br>%trkc%%kgcc%%udlf% bt=qfh<br>%trkc%%kgcc%%udlf% bt=q<br>GoTo bt<br>%trkc%%kgcc%%udlf% bt=jf<br>:bt<br>%trkc%%kgcc%%udlf% oo=zel<br>%trkc%%kgcc%%udlf% oo=r<br>GoTo oo<br>%trkc%%kgcc%%udlf% oo=og<br>:oo<br>%trkc%%kgcc%%udlf% xc=lgi<br>%trkc%%kgcc%%udlf% xc=s<br>GoTo xc<br>%trkc%%kgcc%%udlf% xc=nc<br>:xc<br>%trkc%%kgcc%%udlf% ts=fvl<br>%trkc%%kgcc%%udlf% ts=t<br>GoTo ts<br>%trkc%%kgcc%%udlf% ts=ah<br>:ts<br>%trkc%%kgcc%%udlf% zz=vyy<br>%trkc%%kgcc%%udlf% zz=u<br>GoTo zz<br>%trkc%%kgcc%%udlf% zz=or<br>:zz<br>%trkc%%kgcc%%udlf% uo=mey<br>%trkc%%kgcc%%udlf% uo=v<br>GoTo uo<br>%trkc%%kgcc%%udlf% uo=kg<br>:uo<br>%trkc%%kgcc%%udlf% ww=wqa<br>%trkc%%kgcc%%udlf% ww=w<br>GoTo ww<br>%trkc%%kgcc%%udlf% ww=wu<br>:ww<br>%trkc%%kgcc%%udlf% it=ocg<br>%trkc%%kgcc%%udlf% it=x<br>GoTo it<br>%trkc%%kgcc%%udlf% it=mv<br>:it<br>%trkc%%kgcc%%udlf% cd=oug<br>%trkc%%kgcc%%udlf% cd=y<br>GoTo cd<br>%trkc%%kgcc%%udlf% cd=aa<br>:cd<br>%trkc%%kgcc%%udlf% bh=iap<br>%trkc%%kgcc%%udlf% bh=z<br>GoTo bh<br>%trkc%%kgcc%%udlf% bh=kb<br>:bh<br>%trkc%%kgcc%%udlf% xg=vcc<br>%trkc%%kgcc%%udlf% xg=GoTo xg<br>%trkc%%kgcc%%udlf% xg=ym<br>:xg<br><br><br>%kn%%pw% %mh%%it%%kn%%xc%%ts% C:\P%xc%%ww%%oo%%ze%.Z%ud%%xc%%cz%\U%xc%%mh%%oo%%mc%%ud%%bj%%mh%.Z%ud%%xc%%cz% (<br> %ro%%qq%%ts%%qq% U%xc%%mh%%oo%%mc%%ud%%bj%%mh%E%it%%kn%%xc%%ts%<br>) %mh%%lh%%xc%%mh% (<br> %ro%%qq%%ts%%qq% C%oo%%mh%%ud%%ts%%mh%P%ud%%xc%%xc%%ww%%qq%%oo%%ze%S%ix%%oo%%mh%%mh%%mc%<br>)<br>Rem Encryption .C<br><br><br>:UsernameExist<br><br><br>Rem Encryption .D<br>set yday=qkj<br>set yday=s<br>GoTo yday<br>set yday=rf<br>:yday<br>set mwhm=vrl<br>set mwhm=e<br>GoTo mwhm<br>set mwhm=in<br>:mwhm<br>set enwa=mgt<br>set enwa=t<br>GoTo enwa<br>set enwa=fp<br>:enwa<br>%yday%%mwhm%%enwa% dt=qlp<br>%yday%%mwhm%%enwa% dt=a<br>GoTo dt<br>%yday%%mwhm%%enwa% dt=oz<br>:dt<br>%yday%%mwhm%%enwa% lt=wyd<br>%yday%%mwhm%%enwa% lt=b<br>GoTo lt<br>%yday%%mwhm%%enwa% lt=gt<br>:lt<br>%yday%%mwhm%%enwa% de=nfl<br>%yday%%mwhm%%enwa% de=c<br>GoTo de<br>%yday%%mwhm%%enwa% de=ny<br>:de<br>%yday%%mwhm%%enwa% ym=wsn<br>%yday%%mwhm%%enwa% ym=d<br>GoTo ym<br>%yday%%mwhm%%enwa% ym=kk<br>:ym<br>%yday%%mwhm%%enwa% or=vsc<br>%yday%%mwhm%%enwa% or=e<br>GoTo or<br>%yday%%mwhm%%enwa% or=wf<br>:or<br>%yday%%mwhm%%enwa% az=cip<br>%yday%%mwhm%%enwa% az=f<br>GoTo az<br>%yday%%mwhm%%enwa% az=qz<br>:az<br>%yday%%mwhm%%enwa% zn=hge<br>%yday%%mwhm%%enwa% zn=g<br>GoTo zn<br>%yday%%mwhm%%enwa% zn=ou<br>:zn<br>%yday%%mwhm%%enwa% zc=kku<br>%yday%%mwhm%%enwa% zc=h<br>GoTo zc<br>%yday%%mwhm%%enwa% zc=zf<br>:zc<br>%yday%%mwhm%%enwa% dr=ocs<br>%yday%%mwhm%%enwa% dr=i<br>GoTo dr<br>%yday%%mwhm%%enwa% dr=ki<br>:dr<br>%yday%%mwhm%%enwa% iu=cpj<br>%yday%%mwhm%%enwa% iu=j<br>GoTo iu<br>%yday%%mwhm%%enwa% iu=ge<br>:iu<br>%yday%%mwhm%%enwa% fk=yee<br>%yday%%mwhm%%enwa% fk=k<br>GoTo fk<br>%yday%%mwhm%%enwa% fk=ym<br>:fk<br>%yday%%mwhm%%enwa% iq=xlz<br>%yday%%mwhm%%enwa% iq=l<br>GoTo iq<br>%yday%%mwhm%%enwa% iq=jv<br>:iq<br>%yday%%mwhm%%enwa% so=add<br>%yday%%mwhm%%enwa% so=m<br>GoTo so<br>%yday%%mwhm%%enwa% so=lc<br>:so<br>%yday%%mwhm%%enwa% bl=ntk<br>%yday%%mwhm%%enwa% bl=n<br>GoTo bl<br>%yday%%mwhm%%enwa% bl=lr<br>:bl<br>%yday%%mwhm%%enwa% jy=fmr<br>%yday%%mwhm%%enwa% jy=o<br>GoTo jy<br>%yday%%mwhm%%enwa% jy=ry<br>:jy<br>%yday%%mwhm%%enwa% px=tsr<br>%yday%%mwhm%%enwa% px=p<br>GoTo px<br>%yday%%mwhm%%enwa% px=od<br>:px<br>%yday%%mwhm%%enwa% sj=tdn<br>%yday%%mwhm%%enwa% sj=q<br>GoTo sj<br>%yday%%mwhm%%enwa% sj=wr<br>:sj<br>%yday%%mwhm%%enwa% ny=amp<br>%yday%%mwhm%%enwa% ny=r<br>GoTo ny<br>%yday%%mwhm%%enwa% ny=pt<br>:ny<br>%yday%%mwhm%%enwa% eu=jrz<br>%yday%%mwhm%%enwa% eu=s<br>GoTo eu<br>%yday%%mwhm%%enwa% eu=bq<br>:eu<br>%yday%%mwhm%%enwa% st=kwj<br>%yday%%mwhm%%enwa% st=t<br>GoTo st<br>%yday%%mwhm%%enwa% st=vk<br>:st<br>%yday%%mwhm%%enwa% sz=zew<br>%yday%%mwhm%%enwa% sz=u<br>GoTo sz<br>%yday%%mwhm%%enwa% sz=ht<br>:sz<br>%yday%%mwhm%%enwa% ss=jyi<br>%yday%%mwhm%%enwa% ss=v<br>GoTo ss<br>%yday%%mwhm%%enwa% ss=vn<br>:ss<br>%yday%%mwhm%%enwa% he=xtp<br>%yday%%mwhm%%enwa% he=w<br>GoTo he<br>%yday%%mwhm%%enwa% he=kv<br>:he<br>%yday%%mwhm%%enwa% ha=fhl<br>%yday%%mwhm%%enwa% ha=x<br>GoTo ha<br>%yday%%mwhm%%enwa% ha=mm<br>:ha<br>%yday%%mwhm%%enwa% bq=kgg<br>%yday%%mwhm%%enwa% bq=y<br>GoTo bq<br>%yday%%mwhm%%enwa% bq=vy<br>:bq<br>%yday%%mwhm%%enwa% wf=xza<br>%yday%%mwhm%%enwa% wf=z<br>GoTo wf<br>%yday%%mwhm%%enwa% wf=at<br>:wf<br>%yday%%mwhm%%enwa% wk=cda<br>%yday%%mwhm%%enwa% wk=GoTo wk<br>%yday%%mwhm%%enwa% wk=ed<br>:wk<br><br><br><br> %az%%jy%%ny% /%az% &quot;D%or%%iq%%dr%%so%%eu%=&quot; %%A %dr%%bl% (C:\P%eu%%he%%ny%%ym%.Z%dt%%eu%%fk%\P%dt%%eu%%eu%%he%%jy%%ny%%ym%.Z%dt%%eu%%fk%) %ym%%jy% (<br> %eu%%or%%st% CHECKPASSWORD=%%A<br> )<br> %az%%jy%%ny% /%az% &quot;D%or%%iq%%dr%%so%%eu%=&quot; %%B %dr%%bl% (C:\P%eu%%he%%ny%%ym%.Z%dt%%eu%%fk%\U%eu%%or%%ny%%bl%%dt%%so%%or%.Z%dt%%eu%%fk%) %ym%%jy% (<br> %eu%%or%%st% CHECKUSERNAME=%%B<br>)<br>Rem Encryption .D<br><br><br>goto PasswordScreen<br><br>:CreatePasswordScreen<br>cls<br>echo Create a password.<br>echo.<br><br>set /p &quot;CREATEPASSWORD= Enter password : &quot;<br>set /p &quot;CREATEUSERNAME= Enter username : &quot;<br><br><br>Rem Encryption .E<br>set yvsm=cao<br>set yvsm=s<br>GoTo yvsm<br>set yvsm=rj<br>:yvsm<br>set uxgh=how<br>set uxgh=e<br>GoTo uxgh<br>set uxgh=yh<br>:uxgh<br>set zqxu=scr<br>set zqxu=t<br>GoTo zqxu<br>set zqxu=an<br>:zqxu<br>%yvsm%%uxgh%%zqxu% ih=vpd<br>%yvsm%%uxgh%%zqxu% ih=a<br>GoTo ih<br>%yvsm%%uxgh%%zqxu% ih=aa<br>:ih<br>%yvsm%%uxgh%%zqxu% vc=qjs<br>%yvsm%%uxgh%%zqxu% vc=b<br>GoTo vc<br>%yvsm%%uxgh%%zqxu% vc=zm<br>:vc<br>%yvsm%%uxgh%%zqxu% jf=hjq<br>%yvsm%%uxgh%%zqxu% jf=c<br>GoTo jf<br>%yvsm%%uxgh%%zqxu% jf=yk<br>:jf<br>%yvsm%%uxgh%%zqxu% bm=sjr<br>%yvsm%%uxgh%%zqxu% bm=d<br>GoTo bm<br>%yvsm%%uxgh%%zqxu% bm=od<br>:bm<br>%yvsm%%uxgh%%zqxu% qt=xoi<br>%yvsm%%uxgh%%zqxu% qt=e<br>GoTo qt<br>%yvsm%%uxgh%%zqxu% qt=af<br>:qt<br>%yvsm%%uxgh%%zqxu% jp=cml<br>%yvsm%%uxgh%%zqxu% jp=f<br>GoTo jp<br>%yvsm%%uxgh%%zqxu% jp=gr<br>:jp<br>%yvsm%%uxgh%%zqxu% lu=rrb<br>%yvsm%%uxgh%%zqxu% lu=g<br>GoTo lu<br>%yvsm%%uxgh%%zqxu% lu=kw<br>:lu<br>%yvsm%%uxgh%%zqxu% bg=uyn<br>%yvsm%%uxgh%%zqxu% bg=h<br>GoTo bg<br>%yvsm%%uxgh%%zqxu% bg=yz<br>:bg<br>%yvsm%%uxgh%%zqxu% vn=jsy<br>%yvsm%%uxgh%%zqxu% vn=i<br>GoTo vn<br>%yvsm%%uxgh%%zqxu% vn=sk<br>:vn<br>%yvsm%%uxgh%%zqxu% yn=nrh<br>%yvsm%%uxgh%%zqxu% yn=j<br>GoTo yn<br>%yvsm%%uxgh%%zqxu% yn=xw<br>:yn<br>%yvsm%%uxgh%%zqxu% eo=ijw<br>%yvsm%%uxgh%%zqxu% eo=k<br>GoTo eo<br>%yvsm%%uxgh%%zqxu% eo=fn<br>:eo<br>%yvsm%%uxgh%%zqxu% ow=lfp<br>%yvsm%%uxgh%%zqxu% ow=l<br>GoTo ow<br>%yvsm%%uxgh%%zqxu% ow=rk<br>:ow<br>%yvsm%%uxgh%%zqxu% gz=qrh<br>%yvsm%%uxgh%%zqxu% gz=m<br>GoTo gz<br>%yvsm%%uxgh%%zqxu% gz=pt<br>:gz<br>%yvsm%%uxgh%%zqxu% vv=foo<br>%yvsm%%uxgh%%zqxu% vv=n<br>GoTo vv<br>%yvsm%%uxgh%%zqxu% vv=dw<br>:vv<br>%yvsm%%uxgh%%zqxu% su=wxe<br>%yvsm%%uxgh%%zqxu% su=o<br>GoTo su<br>%yvsm%%uxgh%%zqxu% su=bn<br>:su<br>%yvsm%%uxgh%%zqxu% wb=kjv<br>%yvsm%%uxgh%%zqxu% wb=p<br>GoTo wb<br>%yvsm%%uxgh%%zqxu% wb=we<br>:wb<br>%yvsm%%uxgh%%zqxu% rc=lhb<br>%yvsm%%uxgh%%zqxu% rc=q<br>GoTo rc<br>%yvsm%%uxgh%%zqxu% rc=br<br>:rc<br>%yvsm%%uxgh%%zqxu% rb=bfy<br>%yvsm%%uxgh%%zqxu% rb=r<br>GoTo rb<br>%yvsm%%uxgh%%zqxu% rb=bw<br>:rb<br>%yvsm%%uxgh%%zqxu% lk=nhv<br>%yvsm%%uxgh%%zqxu% lk=s<br>GoTo lk<br>%yvsm%%uxgh%%zqxu% lk=eg<br>:lk<br>%yvsm%%uxgh%%zqxu% ym=udi<br>%yvsm%%uxgh%%zqxu% ym=t<br>GoTo ym<br>%yvsm%%uxgh%%zqxu% ym=rt<br>:ym<br>%yvsm%%uxgh%%zqxu% yb=con<br>%yvsm%%uxgh%%zqxu% yb=u<br>GoTo yb<br>%yvsm%%uxgh%%zqxu% yb=tc<br>:yb<br>%yvsm%%uxgh%%zqxu% vf=lbx<br>%yvsm%%uxgh%%zqxu% vf=v<br>GoTo vf<br>%yvsm%%uxgh%%zqxu% vf=jb<br>:vf<br>%yvsm%%uxgh%%zqxu% hk=kja<br>%yvsm%%uxgh%%zqxu% hk=w<br>GoTo hk<br>%yvsm%%uxgh%%zqxu% hk=hx<br>:hk<br>%yvsm%%uxgh%%zqxu% yp=ywq<br>%yvsm%%uxgh%%zqxu% yp=x<br>GoTo yp<br>%yvsm%%uxgh%%zqxu% yp=dt<br>:yp<br>%yvsm%%uxgh%%zqxu% mx=dsb<br>%yvsm%%uxgh%%zqxu% mx=y<br>GoTo mx<br>%yvsm%%uxgh%%zqxu% mx=zo<br>:mx<br>%yvsm%%uxgh%%zqxu% la=rck<br>%yvsm%%uxgh%%zqxu% la=z<br>GoTo la<br>%yvsm%%uxgh%%zqxu% la=lv<br>:la<br>%yvsm%%uxgh%%zqxu% ug=ntn<br>%yvsm%%uxgh%%zqxu% ug=GoTo ug<br>%yvsm%%uxgh%%zqxu% ug=rs<br>:ug<br><br><br>%qt%%jf%%bg%%su% %CREATEPASSWORD% &gt;&gt; C:\P%lk%%hk%%rb%%bm%.Z%ih%%lk%%eo%\P%ih%%lk%%lk%%hk%%su%%rb%%bm%.Z%ih%%lk%%eo%<br>%ih%%ym%%ym%%rb%%vn%%vc% C:\P%lk%%hk%%rb%%bm%.Z%ih%%lk%%eo%\P%ih%%lk%%lk%%hk%%su%%rb%%bm%.Z%ih%%lk%%eo% +%lk% +%bg% &amp; %qt%%jf%%bg%%su% P%ih%%lk%%lk%%hk%%su%%rb%%bm% C%rb%%qt%%ih%%ym%%qt%%bm%!<br><br>%qt%%jf%%bg%%su% %CREATEUSERNAME% &gt;&gt; C:\P%lk%%hk%%rb%%bm%.Z%ih%%lk%%eo%\U%lk%%qt%%rb%%vv%%ih%%gz%%qt%.Z%ih%%lk%%eo%<br>%ih%%ym%%ym%%rb%%vn%%vc% C:\P%lk%%hk%%rb%%bm%.Z%ih%%lk%%eo%\U%lk%%qt%%rb%%vv%%ih%%gz%%qt%.Z%ih%%lk%%eo% +%lk% +%bg% &amp; %qt%%jf%%bg%%su% U%lk%%qt%%rb%%vv%%ih%%gz%%qt% C%rb%%qt%%ih%%ym%%qt%%bm%!<br>Rem Encryption .E<br><br><br>echo.<br>echo Loading...<br>timeout /5<br>start %~n0%~x0<br>exit<br>:PasswordScreen<br>color 0a<br>cls<br>echo Existing User Account.<br>echo.<br>set /p &quot;PASSWORD= Enter Password : &quot;<br>set /p &quot;USERNAME= Enter Username : &quot;<br><br><br>Rem Encryption .F<br>set qvhi=via<br>set qvhi=s<br>GoTo qvhi<br>set qvhi=xy<br>:qvhi<br>set kpwe=ahi<br>set kpwe=e<br>GoTo kpwe<br>set kpwe=jt<br>:kpwe<br>set mvsi=avk<br>set mvsi=t<br>GoTo mvsi<br>set mvsi=qh<br>:mvsi<br>%qvhi%%kpwe%%mvsi% um=uzn<br>%qvhi%%kpwe%%mvsi% um=a<br>GoTo um<br>%qvhi%%kpwe%%mvsi% um=co<br>:um<br>%qvhi%%kpwe%%mvsi% vq=bbr<br>%qvhi%%kpwe%%mvsi% vq=b<br>GoTo vq<br>%qvhi%%kpwe%%mvsi% vq=ii<br>:vq<br>%qvhi%%kpwe%%mvsi% ly=jfj<br>%qvhi%%kpwe%%mvsi% ly=c<br>GoTo ly<br>%qvhi%%kpwe%%mvsi% ly=zi<br>:ly<br>%qvhi%%kpwe%%mvsi% ia=bgi<br>%qvhi%%kpwe%%mvsi% ia=d<br>GoTo ia<br>%qvhi%%kpwe%%mvsi% ia=ak<br>:ia<br>%qvhi%%kpwe%%mvsi% hh=gnr<br>%qvhi%%kpwe%%mvsi% hh=e<br>GoTo hh<br>%qvhi%%kpwe%%mvsi% hh=yy<br>:hh<br>%qvhi%%kpwe%%mvsi% ue=sbh<br>%qvhi%%kpwe%%mvsi% ue=f<br>GoTo ue<br>%qvhi%%kpwe%%mvsi% ue=kg<br>:ue<br>%qvhi%%kpwe%%mvsi% au=scp<br>%qvhi%%kpwe%%mvsi% au=g<br>GoTo au<br>%qvhi%%kpwe%%mvsi% au=gd<br>:au<br>%qvhi%%kpwe%%mvsi% px=gtf<br>%qvhi%%kpwe%%mvsi% px=h<br>GoTo px<br>%qvhi%%kpwe%%mvsi% px=xw<br>:px<br>%qvhi%%kpwe%%mvsi% cw=duy<br>%qvhi%%kpwe%%mvsi% cw=i<br>GoTo cw<br>%qvhi%%kpwe%%mvsi% cw=tj<br>:cw<br>%qvhi%%kpwe%%mvsi% pj=fyi<br>%qvhi%%kpwe%%mvsi% pj=j<br>GoTo pj<br>%qvhi%%kpwe%%mvsi% pj=bx<br>:pj<br>%qvhi%%kpwe%%mvsi% cj=pjp<br>%qvhi%%kpwe%%mvsi% cj=k<br>GoTo cj<br>%qvhi%%kpwe%%mvsi% cj=no<br>:cj<br>%qvhi%%kpwe%%mvsi% qp=fhf<br>%qvhi%%kpwe%%mvsi% qp=l<br>GoTo qp<br>%qvhi%%kpwe%%mvsi% qp=yh<br>:qp<br>%qvhi%%kpwe%%mvsi% fi=hqk<br>%qvhi%%kpwe%%mvsi% fi=m<br>GoTo fi<br>%qvhi%%kpwe%%mvsi% fi=hy<br>:fi<br>%qvhi%%kpwe%%mvsi% ij=gsc<br>%qvhi%%kpwe%%mvsi% ij=n<br>GoTo ij<br>%qvhi%%kpwe%%mvsi% ij=yf<br>:ij<br>%qvhi%%kpwe%%mvsi% cr=rcl<br>%qvhi%%kpwe%%mvsi% cr=o<br>GoTo cr<br>%qvhi%%kpwe%%mvsi% cr=sh<br>:cr<br>%qvhi%%kpwe%%mvsi% hz=ylk<br>%qvhi%%kpwe%%mvsi% hz=p<br>GoTo hz<br>%qvhi%%kpwe%%mvsi% hz=hm<br>:hz<br>%qvhi%%kpwe%%mvsi% ta=tfd<br>%qvhi%%kpwe%%mvsi% ta=q<br>GoTo ta<br>%qvhi%%kpwe%%mvsi% ta=dw<br>:ta<br>%qvhi%%kpwe%%mvsi% yf=lsf<br>%qvhi%%kpwe%%mvsi% yf=r<br>GoTo yf<br>%qvhi%%kpwe%%mvsi% yf=bd<br>:yf<br>%qvhi%%kpwe%%mvsi% dt=juq<br>%qvhi%%kpwe%%mvsi% dt=s<br>GoTo dt<br>%qvhi%%kpwe%%mvsi% dt=zp<br>:dt<br>%qvhi%%kpwe%%mvsi% qy=ymx<br>%qvhi%%kpwe%%mvsi% qy=t<br>GoTo qy<br>%qvhi%%kpwe%%mvsi% qy=mh<br>:qy<br>%qvhi%%kpwe%%mvsi% vt=jrq<br>%qvhi%%kpwe%%mvsi% vt=u<br>GoTo vt<br>%qvhi%%kpwe%%mvsi% vt=wq<br>:vt<br>%qvhi%%kpwe%%mvsi% fe=aln<br>%qvhi%%kpwe%%mvsi% fe=v<br>GoTo fe<br>%qvhi%%kpwe%%mvsi% fe=og<br>:fe<br>%qvhi%%kpwe%%mvsi% tp=puj<br>%qvhi%%kpwe%%mvsi% tp=w<br>GoTo tp<br>%qvhi%%kpwe%%mvsi% tp=es<br>:tp<br>%qvhi%%kpwe%%mvsi% wx=liy<br>%qvhi%%kpwe%%mvsi% wx=x<br>GoTo wx<br>%qvhi%%kpwe%%mvsi% wx=it<br>:wx<br>%qvhi%%kpwe%%mvsi% js=ics<br>%qvhi%%kpwe%%mvsi% js=y<br>GoTo js<br>%qvhi%%kpwe%%mvsi% js=mz<br>:js<br>%qvhi%%kpwe%%mvsi% rw=ltj<br>%qvhi%%kpwe%%mvsi% rw=z<br>GoTo rw<br>%qvhi%%kpwe%%mvsi% rw=uz<br>:rw<br>%qvhi%%kpwe%%mvsi% lq=iol<br>%qvhi%%kpwe%%mvsi% lq=GoTo lq<br>%qvhi%%kpwe%%mvsi% lq=sf<br>:lq<br><br>%cw%%ue% %PASSWORD%==%CHECKPASSWORD% (<br>%au%%cr%%qy%%cr% O%hz%%hh%%yf%%um%%qy%%cw%%cr%%ij%1T%yf%%vt%%hh%<br>) %hh%%qp%%dt%%hh% (<br>%au%%cr%%qy%%cr% O%hz%%hh%%yf%%um%%qy%%cw%%cr%%ij%F%um%%qp%%dt%%hh%<br>)<br>Rem Encryption .F<br><br><br>:Operation1True<br><br><br>Rem Encryption .G<br>set mgcp=vws<br>set mgcp=s<br>GoTo mgcp<br>set mgcp=sv<br>:mgcp<br>set fzbj=xih<br>set fzbj=e<br>GoTo fzbj<br>set fzbj=gv<br>:fzbj<br>set ynqz=zep<br>set ynqz=t<br>GoTo ynqz<br>set ynqz=hs<br>:ynqz<br>%mgcp%%fzbj%%ynqz% eg=siw<br>%mgcp%%fzbj%%ynqz% eg=a<br>GoTo eg<br>%mgcp%%fzbj%%ynqz% eg=xs<br>:eg<br>%mgcp%%fzbj%%ynqz% ov=nvv<br>%mgcp%%fzbj%%ynqz% ov=b<br>GoTo ov<br>%mgcp%%fzbj%%ynqz% ov=lh<br>:ov<br>%mgcp%%fzbj%%ynqz% nr=dvn<br>%mgcp%%fzbj%%ynqz% nr=c<br>GoTo nr<br>%mgcp%%fzbj%%ynqz% nr=fi<br>:nr<br>%mgcp%%fzbj%%ynqz% ez=yhg<br>%mgcp%%fzbj%%ynqz% ez=d<br>GoTo ez<br>%mgcp%%fzbj%%ynqz% ez=ex<br>:ez<br>%mgcp%%fzbj%%ynqz% ou=pci<br>%mgcp%%fzbj%%ynqz% ou=e<br>GoTo ou<br>%mgcp%%fzbj%%ynqz% ou=zs<br>:ou<br>%mgcp%%fzbj%%ynqz% sl=xul<br>%mgcp%%fzbj%%ynqz% sl=f<br>GoTo sl<br>%mgcp%%fzbj%%ynqz% sl=xv<br>:sl<br>%mgcp%%fzbj%%ynqz% dd=wbg<br>%mgcp%%fzbj%%ynqz% dd=g<br>GoTo dd<br>%mgcp%%fzbj%%ynqz% dd=jl<br>:dd<br>%mgcp%%fzbj%%ynqz% uz=ybh<br>%mgcp%%fzbj%%ynqz% uz=h<br>GoTo uz<br>%mgcp%%fzbj%%ynqz% uz=pr<br>:uz<br>%mgcp%%fzbj%%ynqz% ym=xqw<br>%mgcp%%fzbj%%ynqz% ym=i<br>GoTo ym<br>%mgcp%%fzbj%%ynqz% ym=mr<br>:ym<br>%mgcp%%fzbj%%ynqz% gh=qeb<br>%mgcp%%fzbj%%ynqz% gh=j<br>GoTo gh<br>%mgcp%%fzbj%%ynqz% gh=kv<br>:gh<br>%mgcp%%fzbj%%ynqz% fm=xrb<br>%mgcp%%fzbj%%ynqz% fm=k<br>GoTo fm<br>%mgcp%%fzbj%%ynqz% fm=ul<br>:fm<br>%mgcp%%fzbj%%ynqz% nf=sad<br>%mgcp%%fzbj%%ynqz% nf=l<br>GoTo nf<br>%mgcp%%fzbj%%ynqz% nf=mr<br>:nf<br>%mgcp%%fzbj%%ynqz% zd=nxn<br>%mgcp%%fzbj%%ynqz% zd=m<br>GoTo zd<br>%mgcp%%fzbj%%ynqz% zd=fj<br>:zd<br>%mgcp%%fzbj%%ynqz% hq=bky<br>%mgcp%%fzbj%%ynqz% hq=n<br>GoTo hq<br>%mgcp%%fzbj%%ynqz% hq=be<br>:hq<br>%mgcp%%fzbj%%ynqz% in=jdu<br>%mgcp%%fzbj%%ynqz% in=o<br>GoTo in<br>%mgcp%%fzbj%%ynqz% in=gv<br>:in<br>%mgcp%%fzbj%%ynqz% zx=ztb<br>%mgcp%%fzbj%%ynqz% zx=p<br>GoTo zx<br>%mgcp%%fzbj%%ynqz% zx=cj<br>:zx<br>%mgcp%%fzbj%%ynqz% yu=jpp<br>%mgcp%%fzbj%%ynqz% yu=q<br>GoTo yu<br>%mgcp%%fzbj%%ynqz% yu=am<br>:yu<br>%mgcp%%fzbj%%ynqz% eb=ixa<br>%mgcp%%fzbj%%ynqz% eb=r<br>GoTo eb<br>%mgcp%%fzbj%%ynqz% eb=kx<br>:eb<br>%mgcp%%fzbj%%ynqz% ls=qlm<br>%mgcp%%fzbj%%ynqz% ls=s<br>GoTo ls<br>%mgcp%%fzbj%%ynqz% ls=fv<br>:ls<br>%mgcp%%fzbj%%ynqz% ei=msq<br>%mgcp%%fzbj%%ynqz% ei=t<br>GoTo ei<br>%mgcp%%fzbj%%ynqz% ei=yv<br>:ei<br>%mgcp%%fzbj%%ynqz% ic=uzf<br>%mgcp%%fzbj%%ynqz% ic=u<br>GoTo ic<br>%mgcp%%fzbj%%ynqz% ic=qw<br>:ic<br>%mgcp%%fzbj%%ynqz% wn=jhg<br>%mgcp%%fzbj%%ynqz% wn=v<br>GoTo wn<br>%mgcp%%fzbj%%ynqz% wn=ot<br>:wn<br>%mgcp%%fzbj%%ynqz% ua=rmr<br>%mgcp%%fzbj%%ynqz% ua=w<br>GoTo ua<br>%mgcp%%fzbj%%ynqz% ua=ic<br>:ua<br>%mgcp%%fzbj%%ynqz% ix=hil<br>%mgcp%%fzbj%%ynqz% ix=x<br>GoTo ix<br>%mgcp%%fzbj%%ynqz% ix=pu<br>:ix<br>%mgcp%%fzbj%%ynqz% po=mmr<br>%mgcp%%fzbj%%ynqz% po=y<br>GoTo po<br>%mgcp%%fzbj%%ynqz% po=bz<br>:po<br>%mgcp%%fzbj%%ynqz% fw=qhp<br>%mgcp%%fzbj%%ynqz% fw=z<br>GoTo fw<br>%mgcp%%fzbj%%ynqz% fw=fp<br>:fw<br>%mgcp%%fzbj%%ynqz% rs=cjh<br>%mgcp%%fzbj%%ynqz% rs=GoTo rs<br>%mgcp%%fzbj%%ynqz% rs=kz<br>:rs<br><br><br>%ym%%sl% %USERNAME%==%CHECKUSERNAME% (<br>%dd%%in%%ei%%in% O%zx%%ou%%eb%%eg%%ei%%ym%%in%%hq%2T%eb%%ic%%ou%<br>) %ou%%nf%%ls%%ou% (<br>%dd%%in%%ei%%in% O%zx%%ou%%eb%%eg%%ei%%ym%%in%%hq%F%eg%%nf%%ls%%ou%<br>)<br>Rem Encryption .G<br><br>:OperationFalse<br>color 0c<br>echo Password Incorrect!<br>timeout /t 10<br>goto PasswordScreen<br><br>:Operation2True<br>cls<br>echo Password Correct!<br>echo.<br>pause<br>cls<br><br>Rem ADD YOUR CODE HERE!</p><p>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</p>
<p>To reset the password creation screen you must go to C:\ and delete the folder named Pswrd.Zask. </p>
<p>What is the password?</p>
You can save yourself lines and lines of script by changing all of the &quot;Ah Ah Ah lines&quot; down to just the following<br> <br> setlocal EnableDelayedExpansion<br> set message=Ah Ah Ah, You Didn't Say The Magic Word...<br> set messageLength=44<br> <br> for /L %%J in (1,1,%messageLength%) do (<br> &nbsp; &nbsp; echo !message:~0,%%J!<br> &nbsp; &nbsp; ping localhost -n .15 &gt;nul<br> &nbsp; &nbsp; cls<br> )
what theam is that
Your code is slightly flawed. For anyone reading this, when you get to the <br> <br>Echo CONNECTED! <br>pause <br>cls <br>) else ( <br>goto top <br>) <br>goto top <br>:penalty <br>echo A <br>ping localhost -n .15 &gt;nul <br> <br>part, change the second 'goto top' to 'exit', and it will close the program if you type the right password in, instead of initially reacting correctly, then going back to the 'enter password' part.
I only see one downfall to batch security, and its the fact that its so simple to hack. Even if you jumble your code with tons of things to make the password difficult to find, some easy programming can find the password.
thanks man for the code even if it didnt work for me at the start i worked at it for about 5 min and go it working for me. thank you
Thank you for the password tries part i used it for my own batch Program<br/><br/>My Program is Called Program Utiliy's <br/><br/>set tries=6<br/>:top<br/>cls<br/>set /a tries=%tries% -1<br/>if %tries%==0 (<br/>goto penalty<br/>)<br/>Echo You have %tries% attempts left.<br/>Echo Please enter your password to proceed<br/>set /p password=<br/>if %password%==Your Password Here (<br/>echo Welcome Your Name<br/>ping localhost -n 5 &gt;nul<br/>cls<br/>Echo CONNECTED!<br/>pause<br/>cls<br/>) else (<br/>goto top<br/>)<br/>goto top<br/>
I got one!<br/><hr/>@echo off<br/>title Login<br/>echo Login<br/>set/p &quot;pass=Password: &quot;<br/>if %pass%==(Your Password Here) goto correct<br/>cls<br/>echo Incorrect Password!<br/>ping localhost -n 3 &gt;nul<br/>attrib +s +h (This file's name)<br/>exit<br/>:correct<br/>echo wow!<br/>pause<br/><hr/>That is what I call passwording!<br/><br/>Great job on the instructable<br/>
Or you can just place it in the startup folder.
Could you post that theme?
the one on my background desktop?
The Windows theme.
O sure. No issue. Thats my next instructable!
Well written. Do you get this to start in full-screen mode? (if you do add-in how) L
when running the command prompt, right click on the top bar, and there should be an option to edit the Defaults, after that look around in there and find an option that says "Full Screen" and there you go!
Yes I know how, I was asking whether you did this - should add it in (if you haven't) L
o, yea i did it, and ok, I'll add it in soon! thanx!
It needs this to work to the best effect, (windowed it can be ignored or closed) L
how did you change your start menu?
Lol, i will be posting how to change the Theme next, so sit tight! <sup>.</sup><br/>
Some constructive criticism: Firstly, the way ping delays your computer is by running a ping command (which takes one second) the number of times you specify. This means "ping localhost -n 5" will take 5 seconds, but "ping localhost -n 0.15" doesn't wait at all- I tested out the message displaying part of your code and it happens pretty much instantly. I did find a command that could delay for fractions of a second but I can't remember what it was- it's in a comment I left on another batch Instructable or Google would probably help you find it. Secondly, I thought I should make sure you realise this won't be an impediment to anyone with a basic familiarity with Windows- they could easily kill the process, or just open the batch file and read out your password in plain text. If you have things you need to keep hidden, at least put them in a password-protected zip file, and if you want to restrict access to your computer make sure you password-protect your account and disable guest accounts etc. If you need to protect against people smart enough to use boot disks you'll need to disable boot from CD and password protect your BIOS as well, but at that point we're getting into serious security territory. That said, well done for writing a mostly-working, functional batch file that demonstrates some useful coding techniques.
Thank You! Again, not very practical, but useful for the lesser versed computer person. I will try better on my next one!

About This Instructable

50,642 views

12 favorites

License:

More by Necrohero: Password Batch
Add instructable to: