|May be you can help me guys.|
I've some "automation" issue: INPUT and ReadLN utilities are quite old, they don't work well with XMS managers in FreeDOS. So when a .bat below is launched from a file manager (Volkov Commander as an example), the variable %ANS% remains empty after the text is entered at the prompt. It works after I quit the File Manager - but how to quit it automatically? Or any other workaround working for "any" file manager?
READLN "Enter name of ISO file: " ans
SHCDX33E /D:?SHSU-CDH /I
I found such explanation (if its relevant):
"Input programs in DOS can't write the changed variable to the parent environment of the program that started it. They use the system BIOS function (INT 10h) to read the keyboard, and this function call does not support input redirection.