I could use some help from other people so I've been working on a Pseudo AI batch file and But whenever I try to input an response to reply2 it shuts down and I can't figure out why. Here's the code.
@echo off
:start
cls
echo Hello
set /p reply1=
if %reply1%==Hello goto Options
if %reply1%==Hi goto Options
:Options
cls
Echo What you need? (Open Program/Back)
set /p reply2=
if %reply2%==Back goto start
if %reply2%==Open Program goto Prog
:Prog
cls
Echo Which file do you want me to open?
Echo Calculator
Echo Notepad
Echo Arduino
Echo Chrome
set /p ChooseProg
if %ChooseProg%==Calculator Start Calc.exe
if %ChooseProg%==Notepad Start Notepad.exe
if %ChooseProg%==Arduino Start arduino.exe
if %ChooseProg%==Chrome Start chrome.exe
I could use some Help
Moderator: DosItHelp
Re: I could use some Help
if "%reply2%"=="Open Program" goto Prog
set /p ChooseProg=
set /p ChooseProg=