Search found 2 matches

by eggPlant
16 Oct 2013 08:33
Forum: DOS Batch Forum
Topic: how receive the input in the dos
Replies: 3
Views: 1920

Re: how receive the input in the dos

MS-Dos doesn't have an input command. There is a dos method to get a y/n input, and Qbasic was often used to get input. Another method was to use choice, to get one letter at a time and parse that. If you describe the actual task then maybe we can help you. thanks for your answer,i mean is,under th...
by eggPlant
16 Oct 2013 02:50
Forum: DOS Batch Forum
Topic: how receive the input in the dos
Replies: 3
Views: 1920

how receive the input in the dos

@echo off set /p input=please input a number: set num1=%input% set num2=123 if %num1% equ %num2% echo "=" if %num1% lss %num2% echo "<" if %num1% gtr %num2% echo ">" pause>nul pure dos,not in the command(win),get error message on the line(set /p input=please input a nu...