TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: JASEN BETTS
from: RAYMOND BERIAU
date: 1998-04-15 12:45:00
subject: Calling another batch file

Hello Jasen!
Quoting Jasen's message:
 RB>> I tried the /P option with no success...
 RB>>
 RB>> For some unknown reasons, when 4DOS boot, and it does not matter what
 RB>> has been set in 4DOS.INI, AUTOEXEC.BAT gets loaded...
 JB>  /P has precidence:
I know that (from reading the help file)...
 JB> if you have /P in config.sys the name of the autoexec file must
 JB> follow it (otherwise c:\autoecec.bat will be loaded) if you don't
 JB> have /p then the settings in 4dos.ini will be used.
I tried the following without success:
    SHELL=C:\4DOS\4DOS.COM C:\4DOS @C:\4DOS\4DOS.INI /F /Pc:\4dosexec.btm
    SHELL=C:\4DOS\4DOS.COM C:\4DOS /F /Pc:\4dosexec.btm
    SHELL=C:\4DOS\4DOS.COM C:\4DOS /Pc:\4dosexec.btm
I went back to my original setting and modified the 4DOS.INI:
    SHELL=C:\4DOS\4DOS.COM C:\4DOS @C:\4DOS\4DOS.INI /F
...and in 4DOS.INI
    AutoExecPath   = C:\4DOSEXEC.BTM
...again without success - 4DOS still call AUTOEXEC.BAT rather than 
4DOSEXEC.BTM
Note: I know that AUTOEXEC.BAT is loaded first because the first line of the 
file echoes the name of the file that is being called, and the following 
lines call 4DOSEXEC.BTM as determined by the choice in CONFIG.SYS
 JB> make sure you only have 1 copy of 4dos.ini, or that you are editing
 JB> the right one :)
I have multiple copies of the INI file, but only one file that is called 
4DOS.INI and I have been editing the right one.
Could the problem be caused by the fact that I have multiple choices in 
CONFIG.SYS?
Thanks for your suggestions... Hopefully we will be able to get to the bottom 
of this problem...
By the way, the computer is a 486 DX4 100Mhz with 32Meg of RAM using MS-DOS 
v7.00 with 4DOS v6.01A
Sincerely, Raymond Beriau.
           Co-Moderator 4DOS
INFODATA Communications [+1 514 432 8467]
... @TAGLINES.LSTS.LSTS.LSTS.LST
--- GoldED 3.00.Beta3+
---------------
* Origin: INFODATA Communications - 4DOS Support (FidoNet 1:242/105)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.