Name: go_places_puterwize Date: March 20, 2006 at 18:52:20 Pacific Subject: WBAT... Menu creation... OS: DOS 7.10 CPU/Ram: P4/256MB Model/Manufacturer: Gateway/Midtower2002
Comment:
Im having a little trouble here..(well actually I feel really stupid about this) I have WBAT and I have known how to make menus that use the CHOICE command for a long time now.. I want to make a login box for dos with WBAT just including Name: and Pass:. Can anyone show me or make one for me? It should look like this (I doubt you'll take time to do this but some ppl do) The tutorials dont help me at all with this. I just want to input the stuff to continue loading dos. I mean Putting in e.g. Name:Cj Pass:****** to go to dos. ______________ |Login Box [X] [Name: ] [Pass: ] ___Ok___No___
is there anyone willing to take a challenge? (if this isnt a challenge im pretty stupid.) If anyone makes the box, PLEASE tell me how to make this so where i can put in a name and password to access my dos menu. Input Name=Cj Password=Sharks or whatever, I guess i can do that. This is big for me so please dumb it down as much as you can. I dont understand WBAT.
Curiousity only injured the cat. I finished it off.. Muahahaha...
try this put whatever you want to be run when correct name and password are entered, between the label continue and the "goto end" line i suppose you already know that the 3 files wbat.com, w.bat and wbat.ini all have to be in a directory that is in your path
@echo off set name= set pass= cls call w.bat box @%0:input goto endofbox :input [x] Please Enter Your Name and Password
Name [$ name ]
Password [$ pass ]
[ Okay ] [ Cancel ] :endofbox if errorlevel 2 goto end if not #%name%==#yourname goto invalid if not #%pass%==#yourpassword goto invalid :continue REM Put your stuff here goto end :invalid echo. echo Invalid Name or Password echo. :end
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE