home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / private / mpc93mar.zip / COMCOMHI.DAT < prev    next >
Text File  |  1993-02-15  |  2KB  |  53 lines

  1.  
  2.      Loading COMMAND.COM High
  3.  
  4.      the Ultimate DOS 5.0 Trick
  5.  
  6.      by Alan Motsinger
  7.      Pinellas IBM-PCUG - Bits & Bytes
  8.      Clearwater, FL
  9.  
  10.      Your SHELL command in CONFIG.SYS probably looks something
  11.      like this (Ed Note: command line is all on one line):
  12.  
  13.      Shell=
  14.      C:\DOS\Command.Com C:\DOS /e:1024 /p
  15.  
  16.      What if you changed it to look something like this:
  17.  
  18.      Shell=
  19.      C:\DOS\Command.Com /C LH C:\Command.Com C:\DOS /e:1024 /p
  20.  
  21.      What would that accomplish? Basically, what you're doing is loading
  22.      a temporary copy of COMMAND.COM and telling it to execute a statement
  23.      and immediately exit (the /C option). The command just happens to
  24.      be LOADHIGH COMMAND.COM. Although, the temporary copy gets "stuck"
  25.      in low memory (/C tells the first copy to exit, but the /P on the
  26.      high copy makes it permanent, so you can't exit back to the first
  27.      to release it), your primary copy of COMMAND.COM is now loaded high.
  28.  
  29.      Your computer finishes the boot process as normal and nothing looks
  30.      different, but things are different! The high copy of COMMAND.COM
  31.      acts as a doorway to your high memory. Try using a memory mapping
  32.      utility such as MAPMEM (TurboPower Software). You'll find that the
  33.      map is not only your low memory, but also your high memory. You'll
  34.      also notice that any TSR you load from the DOS prompt (even without
  35.      LOADHIGH) will automatically become resident in high memory. You'll
  36.      notice a few extra K free down in low conventional, and memory access
  37.      (compare before and after speeds by looking at CheckIt's Memory Map)
  38.      in the high area is quite a bit faster.
  39.  
  40.      What are the drawbacks? The only problems I discovered to date are
  41.      related to TSRs, especially ones that try to update their status in
  42.      memory (they load fine, but don't try to change them). They tend to
  43.      lock up often; however, all major programs that I've tried, run
  44.      smoothly - perhaps even a little faster.
  45.  
  46.      Although I am using 4DOS (Command.Com replacement that automatically
  47.      loads high except for 256 bytes), this idea does appear to work on
  48.      everything I tried. This concept is NOT for the faint of heart,
  49.      however, or for those that think they are on the 'leading edge'.
  50.      This is for the 'bleeding edge' folks only!
  51.  
  52.      [Ed Note: This was taken from the BBS messages.]
  53.