Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > Re: Cross: MSDO...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 20 of 25 Topic 484 of 508
Post > Topic >>

Re: Cross: MSDOS config.sys & autoexec.bat problem...

by Ted Davis <tdavis@[EMAIL PROTECTED] > Mar 17, 2008 at 08:17 AM

On Sat, 15 Mar 2008 15:55:12 +0100, ds wrote:

> i added a network card to my ma****ne (working on MSDOS)
> 
> my config.sys:
> DEVICE=C:\UTIL\HIMEM.SYS /M:4
> DEVICE=C:\NET\IFSHLP.SYS
> device=display.sys con=(ega,,1)
> country=385,852,country.sys
> install=mode.com con cp prepare=((852) ega.cpi) install=mode.com con cp
> select=852
> install=keyb.com yu,,keybrd2.sys
> files=30
> buffers=10
> 
> my autoexec.bat
> mode con cp prepare=((852) ega.cpi)
> mode con cp select=852
> keyb.com yu,,keybrd2.sys
> set clipper=f120
> C:\NET\net initialize
> C:\NET\nwlink
> C:\NET\net start
> C:\NET\net share
> 
> 
> 
> when i start any program i get the message "Program too big to fit in
> memory".
> if i dont use net share function it works ok... I think that it is a
> problem with HMA memory... so my questiion is: Could i enlarge it? looks
> like 64k isnt enough... any other ideas?
> 

Here's what I used to use to image machines with plenty of memory.  It
addresses two problems: space for the program and not enough space on the
floppy for everything needed.  This version is specific to NE2000 NICs.

CONFIG.SYS
dos=high,umb
files=20
buffers=20
lastdrive=z
device=\bin\himem.sys /testmem:off /v
device=\bin\emm386.exe /v h=128 noems
shell=\command.com /e:1024 /f /p
devicehigh=\bin\ifshlp.sys

AUTOEXEC.BAT
@[EMAIL PROTECTED]
 off
set srcdrv=a:
set ramdrv=h:
path=%srcdrv%\bin;%srcdrv%\
xmsdsk 8192 %ramdrv% /y /t > nul
md %ramdrv%\bin
md %ramdrv%\tmp
set temp=%ramdrv%\tmp
set tmp=%ramdrv%\tmp
copy %comspec% %ramdrv%\bin > nul
set comspec=%ramdrv%\bin\command.com
copy %srcdrv%\bin\pkunzip.exe %ramdrv%\bin > nul
copy ramdrive.zip %ramdrv%\ > nul
set path=%ramdrv%\bin;%ramdrv%\net
%ramdrv%
pkunzip -d ramdrive.zip > nul
if exist \dos\nul path %path%;%ramdrv%\dos
if exist \bin\autorun.bat \bin\autorun

AUTORUN.BAT
@[EMAIL PROTECTED]
 off
cls
set basedrv=i:
set images2=j:
set d_drive=k:
set e_drive=l:
set h_drive=m:
gawk -f%ramdrv%/bin/sysini.awk %ramdrv%\net\system.pat >
%ramdrv%\net\system.ini
call \net\startnet
cls
net use z: \\rmesmb01\root > nul

path %path%;z:\opt\images\ghost\bin

z:
cd \opt\images


The gawk command generates the MS network SYSTEM.INI file on the fly and
insert a tem****ary (unique) machine name.

Maybe there is something in all that that you can use.  It is known to
work.


-- 
T.E.D. (tdavis@[EMAIL PROTECTED]
)
 




 25 Posts in Topic:
Cross: MSDOS config.sys & autoexec.bat problem...
"ds" <d@[EMA  2008-03-15 15:55:12 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
"Todd Vargo" &l  2008-03-15 13:05:41 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
"ds" <d@[EMA  2008-03-16 15:58:35 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
foxidrive <gotcha@[EMA  2008-03-17 02:37:06 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
"ds" <d@[EMA  2008-03-16 18:50:26 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
foxidrive <gotcha@[EMA  2008-03-17 04:59:45 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Robert Riebisch <Rober  2008-03-16 19:10:28 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
"Todd Vargo" &l  2008-03-17 00:03:38 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Adam <no@[EMAIL PROTEC  2008-03-16 20:59:08 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Ted Davis <tdavis@[EMA  2008-03-16 20:06:03 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Rugxulo <rugxulo@[EMAI  2008-03-23 08:25:30 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Jim Leonard <MobyGamer  2008-03-15 13:40:53 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Terence <tbwright@[EMA  2008-03-15 19:29:54 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Robert Riebisch <Rober  2008-03-16 17:12:05 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Alex Buell <alex.buell  2008-03-16 23:10:31 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
ak621@[EMAIL PROTECTED]   2008-03-17 13:16:10 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Alex Buell <alex.buell  2008-03-16 23:11:58 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Calvin <nospam@[EMAIL   2008-03-17 12:31:12 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
ak621@[EMAIL PROTECTED]   2008-03-17 13:17:38 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Ted Davis <tdavis@[EMA  2008-03-17 08:17:06 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
ak621@[EMAIL PROTECTED]   2008-03-17 13:33:57 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
Ted Davis <tdavis@[EMA  2008-03-17 15:06:36 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
ak621@[EMAIL PROTECTED]   2008-03-22 13:20:16 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
"Todd Vargo" &l  2008-03-18 00:13:46 
Re: Cross: MSDOS config.sys & autoexec.bat problem...
ak621@[EMAIL PROTECTED]   2008-03-22 13:24:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 2:00:11 CST 2008.