Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

DOS programming

Name: Anonymous 2006-09-22 10:53

Hi guys,

I'm writing a DOS program, and I need to know the largest file number that can be returned. i.e. the value of FILES= in config.sys. Without reading the CONFIG.SYS file or calling INT 21 OPEN until I get error 4, how can I determine what that value is?

Btw Google fails me, I've already tried that

Name: Anonymous 2006-09-22 11:12

Do it the traditional way: decide on your own limit and tell your users to make sure FILES is larger than that.

Hah.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List