Home > database >  program quits at a certain point. batch/cmd
program quits at a certain point. batch/cmd

Time:05-30

sup, I am making a program that takes and stores user input in a .txt file (basically stores a password) after that you can go and check the password (to maybe unlock or open something, etc) for some reason when I try to compare the two passwords the program quits in both ways, this is the problem, thx if you help

this is the code:

@echo off

:start
echo -create (make a password)
echo -check (check a password)
set /p PROGRAM= enter opperation:
goto %PROGRAM%

:create
cls
set /p data= enter data: 
echo            
  • Related