I have a program that needs to request certain things from the user - ones that cannot be put into command line arguments etc, but as I have said, I cannot use set /p. I do know about the messy methods like this for example:
coffee.bat
Code: Select all
@echo off
echo Do you want a coffee?
prompt $G
yes.bat
Code: Select all
@echo off
echo Sorry, I can't get you one!
no.bat
Code: Select all
echo Good. Because I can't get you one anyway.
This is too messy and slow switching between different programs.
Is there a way to do this, or should I write a QBASIC program or something??
Thanks a million!
phillid