home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / MAXFH.ZIP / MAXFH.DOC next >
Text File  |  1992-11-23  |  1KB  |  26 lines

  1.  
  2. MAXFH.EXE, by Gerry Rozema (1:153/905) will solve the problem in Maximus when using PKZip for compressing messages in the Offline Reader. Typically, PKZip bombs out with a message like "cannot create file ...\003d68c4.xxx". This is caused by a shortage of file handles (default 20 per process). 
  3.  
  4. MAXFH will increase the file handles allocated to the present (and parent) process.
  5.  
  6. The syntax is:  MAXFH n progname
  7. where n=the number of handles to allocate and
  8. progname=the excutable to call
  9.  
  10. An example of a snippet from COMPRESS.CFG follows:
  11.  
  12. ----------------------------------------------------------------------------------------
  13.  
  14. ; Phil Katz's PKZip
  15.  
  16. Archiver PKZIP
  17.   Extension     ZIP
  18.   Ident         0,504b0304                      ; "PK^c^d"
  19.   Add            maxfh 50 pkzip -a %a %f
  20.   Extract       pkunzip -o %a %f
  21.   View          pkzip -v %a
  22. End Archiver
  23.  
  24. ----------------------------------------------------------------------------------------
  25.  
  26. MAXFH may also be used when initially calling Max.