How did you do it? I tried it in a DOSBox, but I realized I forgot everything about DOS, BAT files,
It wasn't that hard, although I don't know any batchfile logic to test for an empty file. I'm using...
cd\iedit
iceedit.exe /D:F:\SBBS\ /N:%1
cd\sbbs
type tzutc.txt > new.txt
type msgtmp >> new.txt
move new.txt msgtmp
Just in case theres still a new.txt the first single > should overwrite the existing file. The second with >> adds the edited message to new.txt and then to help ensure theres no rubbish left behind we move new.txt over the original msgtmp. The %1 is only the node number from the batch files command line during
calling.
If anyone knows how to test for an empty file in a DOS batch file, I'm all ears.
Spec
*** THE READER V4.50 [freeware]
--- SuperBBS v1.17-3 (Eval)
* Origin: Scrawled in haste at The Lower Planes (21:3/106.10)