中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-13 21:32
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » When would the device=himem.sys command be needed?
Printable Version  1,752 / 6
Floor1 juya Posted 2004-06-30 00:00
初级用户 Posts 1 Credits 103
First, I don't know the specific purpose of this command. Secondly, I don't know the impact of this command on the system:

Today I saw someone's file made a floppy disk for automatic Ghost backup and restore, targeting my computer: c: NTFS, d: NTFS, e: FAT32.

config file


menucolor=7,1
menuitem=Restore,Ghost Restore
menuitem=Backup,Ghost Backup
menudefault=Restore,30

files=25
buffers=15
device=himem.sys /testmemff
dos=high,umb
stacks=9,256
lastdrive=z



autoexec.bat file

@echo off
goto %config%
:Backup
md c:\Ghost
ghost -clone,mode=pdump,src=1:1,dst=c:\ghost\win.gho -fx -sure -rb
goto exit
:Restore
md c:\Ghost
ghost -clone,mode=pload,src=c:\Ghost\win.gho,dst=1:1 -sure -rb
:exit

The directory structure of the floppy disk is as follows

|---autoexec.bat

|--command.com

|--config.sys

|--ghost.exe

|--himem.sys

|--io.sys

|--msdos.sys

After booting, the menu is normal, but after running any of the commands, there is an error of "xms not installed"...



Later, I removed "device=himem.sys /testmemff" and there was no error...
I want to ask what is the reason?
Also, can Ghost back up normally if "device=himem.sys /testmemff" is removed in Ghost...
Help me

Floor2 MYS Posted 2004-06-30 00:00
元老会员 Posts 1,637 Credits 5,170 From 广东佛山
himem.sys is the DOS-standard XMS (Extended Memory Management Program) driver, allowing DOS to manage memory above 1M. device=himem.sys is to load XMS. If it is not loaded, DOS can only use up to 640K of memory, even if your memory is 256M or more.
If problems occur after loading, there are mostly possible causes such as a problem in a certain position of the memory module or incompatibility between the memory module and the motherboard. If himem.sys is not loaded, GHOST can still be used, but it will definitely be much slower.
Floor3 澹台灭蝇 Posted 2004-07-02 00:00
初级用户 Posts 18 Credits 172
Dude, I want to ask:

src=c:\Ghost\win.gho, this can be recognized in the FAT32 partition, but it seems that it can't be recognized in the NTFS partition. Do you know how to make it recognizable in NTFS? Please give me some pointers.



Floor4 wks_love Posted 2004-07-04 00:00
中级用户 Posts 31 Credits 248
What does this string of!! mean? How can I understand the programming language?
Floor5 bush Posted 2004-07-04 00:00
银牌会员 Posts 730 Credits 2,165
You can use GHOST without XMS
Floor6 wks_love Posted 2004-07-05 00:00
中级用户 Posts 31 Credits 248
The following is a quote from bush on July 4, 2004 at 10:05:57 AM:
You can use GHOST without XMS

What does it mean? Is it the language of the earth?
Floor7 linux1234 Posted 2004-07-13 00:00
中级用户 Posts 42 Credits 293
Study hard and make progress every day
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023