Tripredacus Posted October 29, 2015 Share Posted October 29, 2015 I ran into a situation where I need to use a DOS program but it will not run if himem.sys is loaded. Unfortunately, I (likely) have other things that require it.This is my config.sys[COMMON]DOS=HIGHSHELL=C:\COMMAND.COM C:\ /P /E:512DEVICE=himem.sysdevice=ifshlp.sysIs it possible, via .bat, to unload himem.sys so that the program can run if it is selected? Link to comment Share on other sites More sharing options...
dencorso Posted October 29, 2015 Share Posted October 29, 2015 No. Unloading HIMEM is problematic and unreliable. The best option is to create two menu entries, like this:[menu]menuitem=NH, No HIMEMmenuitem=GU, General Usemenudefault=GU,5menucolor=7,0[GR]DOS=HIGHDEVICE=HIMEM.SYS /VDEVICE=IFSHLP.SYS[NH][COMMON]<other commands...>See also this, this and this. Link to comment Share on other sites More sharing options...
Tripredacus Posted October 29, 2015 Author Share Posted October 29, 2015 Oh yes, I have previously used that method before. It would just be a pain to have to do a lot of work just for one program. Link to comment Share on other sites More sharing options...
dencorso Posted October 29, 2015 Share Posted October 29, 2015 (edited) HIMEM.SYS or its clones do modify the system in ways that are difficult to revert completely upon forcible removal.Moreover, this should just work, try it and you'll see it's not so painful at all: [menu]menuitem=NH, No HIMEMmenuitem=GU, General Usemenudefault=GU,5menucolor=7,0[GR]DOS=HIGHDEVICE=HIMEM.SYS /VDEVICE=IFSHLP.SYS[NH][COMMON]SHELL=C:\COMMAND.COM C:\ /P /E:512 Edited October 30, 2015 by dencorso Fixed typo. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now