Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DOS utility to display 1st line of all files in directory? (Users)

posted by CluelessInSeattl, Seattle, USA, 31.12.2012, 17:24

I finally figured out why my old SEEFIRST.EXE program (compiled from my SEEFIRST.BAS QuickBASIC file) kept crashing.

My old code contained a SHELL DIR>FILE.LST command.

And somewhere along the line I changed the switches on my DIR command, so that the file produced by DIR was not what my program expected it look like. So it choked.

Once I figured out the source of the problem, it was easy to correct.

But, I'd still like to get Rugxulo's BAT file up and running, as it seems to be a much more elegant way to accomplish the same task.

---
Will in Seattle
a.k.a. "Clueless"
Running MS-DOS 6.21

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum