On 6/15/2026 11:24 AM, Thomas Desi via Freedos-user wrote:
My use scenario seems stupid, I know:
C:\echo This is my text and I keep on notating quick ideas, inital textfiles anything
I would quickly jotting down. As I have a macro pad that has ONE single key which
puts in the commandline ''echo ‚‘ >> filename.txt
This is the absolutely fastet way for me to create a meaningful textfile.
Faster than what I used till now:
C:\copy con filename.txt (return)
blablablabla text lore ipsum
[CTL Z]
But both are restricted obviously to that 128 character limit.
echo >> is a great method for me.
That’s why I am thinking why the hack 127 when we have so much storage and ram
today?
( I am on FreeDOS bare metal )
That doesn't matter, how much RAM you have today. All DOS internal
structures rely on a rather specific memory model of (less) than 1MB of
RAM. All program structures are fixed and you just can't just nilly
willy extend those. There have been almost since the beginning ways to
access beyond 1MB of RAM total, but that is for use under program
control, using specific protocols (XMS, EMS), NOT of the basic DOS
structures. And doing any redirecting/piping on the command line is
under DOS, using DOS structures.
Not quite sure why you insist to use such an archaic way to create any
"meaningful" text file, instead of using even the most basic text
editor, which can do this so much easier...
Ralf
_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user