Hi, On Aug 26, 2016 7:35 PM, "Louis Santillan" <lpsan...@gmail.com> wrote: > > Thanks for the feed. I realized the issue redirection as soon as > Ulrich mentioned it. Is it possible this is a bug wrt how FD > Command.com handles REM statements? Obviously my expectation was that > REM was a true comment and not some pseudo NOP command that ignores > its arguments, allowing the redirection to continue to be processed by > the %SHELL%. I'll fix this up tonight and also test against my MS > DOS VM. Thanks for the fix suggestion as well Rugxulo.
No, IIRC, all major DOS shells have this quirk (maybe not XP's CMD, can't remember). So you can create a zero-byte file with "REM >blah", if needed. I know, it's absurd and useless, not a great idea to rely on it. Like I said, you can avoid the issue with careful use of "::" when necessary ( > < | ). On the bright side, you save a whole byte per line! :-)
------------------------------------------------------------------------------
_______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user