Op 13-10-2011 20:05, Michelle Dupuis schreef:
> and if I can add a question 4 to the list:
> 4. Can I load device drivers from autoexec.bat? (essentially moving my
> menus from config.sys to autoexec.bat)
> Thanks

Most drivers can be loaded from autoexec.bat and/or commandline 
(runtime). It's not recommended for memory drivers as you'll miss out on 
the benefits of DOS=HIGH , DOS=UMB and DOSDATA=UMB , especially for 
something like command.com itself which can consume a lot of low memory.

Most .sys drivers can be loaded using the DEVLOAD program (version 3.25 
recommended), other programs have a runtime commandline as well 
(JEMM386, JEMMEX).

@echo off
echo Loading CDROM driver:
DEVLOAD UIDE.SYS /D:MYCDROM /N1 /N3 /B
echo loading XMS driver (no HMA, sorry!) :
DEVLOAD XMGR.SYS
echo loading EMS driver (no UMBs, sorry!):
JEMM386 LOAD
echo Loading ramdisk in 2 steps:
DEVLOAD /DR TDSK.EXE 100
TDSK.EXE
echo Loading cd-rom extensions:
SHSUCDX /D:MYCDROM,X

> ------------------------------------------------------------------------
> *From:* Michelle Dupuis [mdup...@ocg.ca]
> *Sent:* Thursday, October 13, 2011 1:28 PM
> *To:* freedos-user@lists.sourceforge.net
> *Subject:* Re: [Freedos-user] Menu in config.sys not working
>
> I just found my answer in the online doc :) so now the tougher questions:
> 1. Can I have more than 9 options in a menu
> 2. How does freedos know that I have picked a valid option (how do I
> tell freedos which numbers in use)
> 3. Can I have 3 nested menus? (My current MSDOS config.sys has 3 menus,
> one after the other)...

1) No idea, 0..9 is 10 already, never needed more.
2) FreeDOS remembers the valid options if you have each number in use at 
least once with a question mark behind it:
   0?ECHO HELLO WORLD
   0123456789?DEVICE=JEMMEX.EXE I=B000-B7FF X=TEST I=TEST NOEMS

FreeDOS 1.0 unfortunately, when installed, had a clean boot menu choice 
listed but there was no other config.sys line using it, resulting in a 
choice that didn't work.

3) No nested stuff possible to my knowledge. CHOICE command could help 
you out a bit more.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to