Comment on Shhh: The Undocumented DOS Commands (1999)parentComments−morsch6y"In DOS I believe that %var% expansion only works in batch files, not at the command line directly."[1] That worked for me in an emulator.[2][1] https://stackoverflow.com/questions/28021862/echo-variable-s...[2] https://jamesfriend.com.au/pce-js/ibmpc-games/−pan696yConfirmed. It doesn't work directly from the prompt, only within a batch file. I think might work on a DOS 7 prompt (Win95 >) though, not sure, I don't have a Windows machine hooked up atm. Maybe that's where my memory is from...Thanks!
Comments
"In DOS I believe that %var% expansion only works in batch files, not at the command line directly."[1] That worked for me in an emulator.[2]
[1] https://stackoverflow.com/questions/28021862/echo-variable-s...
[2] https://jamesfriend.com.au/pce-js/ibmpc-games/
Confirmed. It doesn't work directly from the prompt, only within a batch file. I think might work on a DOS 7 prompt (Win95 >) though, not sure, I don't have a Windows machine hooked up atm. Maybe that's where my memory is from...
Thanks!