On Mon, 24 Jul 2000 17:07:39 +0200 (CEST), Michael Polak wrote:

<snip>

>> >Well, I would like to extend APM.EXE to be able to update also
>> >autoexec.bat file (like packet driver wizard does...)

>> I would *not* want to use such an APM.EXE version. It's way too insecure
>> since you will then bring scripts into Arachne, scripts that can launch any
>> DOS program (such as a format of the HD) when the computer is rebooted.

> Hmm, but some APMs need drivers to be added to Autoexec (like CNDMIDI)

 But they don't *need* to be in autoexec.
They could be placed in a.bat (or cndmidi.bat)

I load them in ARRM.BAT (ARachne_Ramdrive_Midi.BAT)
or in ARHM.BAT (ARachne_Hdd_Midi.BAT)
Both of them unload the drivers after exiting Arachne.

ARR.BAT and ARH.BAT have the cndmidi lines "remarked-out".

--- arrm.bat ---
@echo off
IF "%ARA%"=="" GOTO ARANO
if "%1"=="" goto err
GOTO ARAYES
:ARANO
CD\1RECON
!ARA
:ARAYES
C:
CD\
CALL \EMSDSK\XMSDSK 64000  l: /c1 %3
copy c:\command.com l:\
IF NOT EXIST l:\command.com goto delmail
set comspec=l:\command.com
md l:\temp
set temp=l:\temp
IF NOT EXIST l:\ARACHNE\ARACHNE.BAT PKUNZIP -d e:\ARACHNE\!AR%1.ZIP l:\
PKUNZIP -d -o e:\ARACHNE\MAIL\!AR!MDIR.ZIP l:\
D:
CD\AUDIO\CNDMIDI
LH SBMIDI
SBSIM
CD\
l:
CD \ARACHNE
xcopy c:\arachne\mail\*.* l:\arachne\mail\ /s
CALL ARACHNE.BAT %2
C:
:delmail
? del l:\arachne\!*.*
call deltree.bat c:\arachne\mail
xcopy l:\arachne\mail\*.* c:\arachne\mail\ /s
D:
CD\AUDIO\CNDMIDI
SBSIM /u
SBMIDI /u
CD\
C:
set comspec=c:\command.com
set temp=c:\temp
goto end
:err
echo To run !ar166.zip --- arrm 166(enter)
pause
rem show list of available versions
dir e:\arachne\!ar*.zip /p
pause
:end
menu.bat
____________________


Glenn McCorkle [EMAIL PROTECTED] North Jackson, Ohio, USA
DOS prog. for QV cameras http://www.angelfire.com/id/glenndoom/qvplay.html
Other stuff http:[EMAIL PROTECTED]/
-- 
            Arachne, The Web Browser for DOS
   Open the 'DOOR' to the WWW. Keep the 'windows' closed.
  Download Arachne for DOS http://browser.arachne.cz/dos/
      Visit the Arachne home page http://arachne.cz/

Reply via email to