Category : Batch File Utilities - mostly for DOS
Archive   : ABFS.ZIP
Filename : ADVBAT10.TXT

 
Output of file : ADVBAT10.TXT contained in archive : ABFS.ZIP
The IBM Personal Editor II (PE2.EXE) is a wonderful editor, but it simply
will not edit a list of files specified by a wildcard such as *.txt.

You can use FOR ... NEXT to accomplish much the same effect, but you will
have to pay the overhead of loading the editor once for each file.

Here is how we do it:


FOR %%A in (%1) do CALL ED %%A

Since PE2 is a licensed program, I have had to replace him with a silly
batch file (ED.BAT), which in turn invokes Vern Buerg's LIST utility for
a single file at a time, even though Buerg's LIST understands wildcards
itself, and thus does not need the trick!

The actual "%1" will be: ADVBAT0?.TXT, the first 9 text files here.




  3 Responses to “Category : Batch File Utilities - mostly for DOS
Archive   : ABFS.ZIP
Filename : ADVBAT10.TXT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/