multi-av / NTFS4DOS / boot floppy...

R

RJK

I'm getting nowhere fast ! ...every couple of weeks I come back to this
task and don't get very far, and I've got a pile of floppy disks to prove
it.

All I wanted to do was as outlined in David H Lipmans *.pdf file supplied
with his Multi-AV ..i.e. make a boot up floppy with NTFS4DOS on it, so that
I can run the command line scanners, under FREEDOS or ANY dos using his
supplied batch files e.g. SOFclean.bat !

I'm beginning to wonder if I've misunderstood one or more basic concepts
somewhere. i.e. I know I've forgotten a lot during the past 25 years on
micros but, I didn't think I'd forgotten that much !

I collected NTFS4DOS ( ntfsinst.exe ) from
http://www.datapol.de/dpe/recovery/ntfs/index.html and when I fire it up,
it makes me a boot up floppy disk, informing me early on that as there is no
OS on the floppy, it'll slap FreeDOS on it for me, then it does just that,
and then slaps NTFS4DOS.exe on the floppy disk and all is done for me !
....even config.sys and autoexec.bat are configured for me !

[config.sys]
!SWITCHES=/E
menucolor=7,0
MENU
menu 1 NTFS4DOS
menu 2 Defragment NTFS
menu 3 Check Disk GUI-Utility

menudefault=1,10
files=100
LASTDRIVE=P
dos=high,umb
devicehigh=himem.exe
123?DEVICEHIGH=umbpci.sys
DEVICEHIGH=udma2s.sys

[autoexec.bat]
@echo off
@if exist vtmode.com vtmode.com
goto %config%
:2
DFRGNTFS.EXE
goto 1
:3
chkdskg.exe
goto 1
:1
chkdsk.exe
set ramd=
cls
LH NTFS4DOS.EXE /r2 %comspec% /K cpyrdcc.bat


Now, when I boot up from this wonderful new floppy, screen top left I first
get "No UMB's available," lots of messages about missing hard disks, then
NTFS4DOS.exe runs and then eventually hangs the machine.

I just did a Google
http://www.google.co.uk/search?hl=en&q=freedos+no+umb's+available&meta=
and people are talking about emm386.exe GOD !!!!!!!
....I threw away my copy of Quarterdeck hma manager YEARS AGO...
I can't remember all that !!!! HeeeEEEELLLLP

Any clues gratefully accepted !

regards, Richard
 
R

RJK

....I suppose I'd better quickly explain I do know the difference between
extended and expanded memory, and that emm386.exe is an expanded memory
emulator !
....or is my memory playing tricks with me again :) ...surely I haven't got
to start fiddling with all that again !

regards, Richard
 
N

Noel Paton

.....OTOH, you might try just formatting a floppy with Win98 System files on
it, and use the NTFS4DOS on that - it works fine here

--
Noel Paton (MS-MVP 2002-2006, Windows)

Nil Carborundum Illegitemi
http://www.crashfixpc.com/millsrpch.htm

http://tinyurl.com/6oztj

Please read on how to post messages to NG's
Noel Paton said:
You don't need NTFS4DOS with Win98 - because Win98 can't create NTFS
anyhow

Why not ask David? - his usual hangout (if you don't have his email) is in
alt.comp.virus or alt.comp.anti-virus
--
Noel Paton (MS-MVP 2002-2006, Windows)

Nil Carborundum Illegitemi
http://www.crashfixpc.com/millsrpch.htm

http://tinyurl.com/6oztj

Please read on how to post messages to NG's
RJK said:
I'm getting nowhere fast ! ...every couple of weeks I come back to this
task and don't get very far, and I've got a pile of floppy disks to prove
it.

All I wanted to do was as outlined in David H Lipmans *.pdf file supplied
with his Multi-AV ..i.e. make a boot up floppy with NTFS4DOS on it, so
that
I can run the command line scanners, under FREEDOS or ANY dos using his
supplied batch files e.g. SOFclean.bat !

I'm beginning to wonder if I've misunderstood one or more basic concepts
somewhere. i.e. I know I've forgotten a lot during the past 25 years on
micros but, I didn't think I'd forgotten that much !

I collected NTFS4DOS ( ntfsinst.exe ) from
http://www.datapol.de/dpe/recovery/ntfs/index.html and when I fire it
up,
it makes me a boot up floppy disk, informing me early on that as there is
no
OS on the floppy, it'll slap FreeDOS on it for me, then it does just
that,
and then slaps NTFS4DOS.exe on the floppy disk and all is done for me !
...even config.sys and autoexec.bat are configured for me !

[config.sys]
!SWITCHES=/E
menucolor=7,0
MENU
menu 1 NTFS4DOS
menu 2 Defragment NTFS
menu 3 Check Disk GUI-Utility

menudefault=1,10
files=100
LASTDRIVE=P
dos=high,umb
devicehigh=himem.exe
123?DEVICEHIGH=umbpci.sys
DEVICEHIGH=udma2s.sys

[autoexec.bat]
@echo off
@if exist vtmode.com vtmode.com
goto %config%
:2
DFRGNTFS.EXE
goto 1
:3
chkdskg.exe
goto 1
:1
chkdsk.exe
set ramd=
cls
LH NTFS4DOS.EXE /r2 %comspec% /K cpyrdcc.bat


Now, when I boot up from this wonderful new floppy, screen top left I
first
get "No UMB's available," lots of messages about missing hard disks, then
NTFS4DOS.exe runs and then eventually hangs the machine.

I just did a Google
http://www.google.co.uk/search?hl=en&q=freedos+no+umb's+available&meta=
and people are talking about emm386.exe GOD !!!!!!!
...I threw away my copy of Quarterdeck hma manager YEARS AGO...
I can't remember all that !!!! HeeeEEEELLLLP

Any clues gratefully accepted !

regards, Richard
 
D

David H. Lipman

From: "RJK" <[email protected]>

| I'm getting nowhere fast ! ...every couple of weeks I come back to this
| task and don't get very far, and I've got a pile of floppy disks to prove
| it.
|
| All I wanted to do was as outlined in David H Lipmans *.pdf file supplied
| with his Multi-AV ..i.e. make a boot up floppy with NTFS4DOS on it, so that
| I can run the command line scanners, under FREEDOS or ANY dos using his
| supplied batch files e.g. SOFclean.bat !
|
| I'm beginning to wonder if I've misunderstood one or more basic concepts
| somewhere. i.e. I know I've forgotten a lot during the past 25 years on
| micros but, I didn't think I'd forgotten that much !
|
| I collected NTFS4DOS ( ntfsinst.exe ) from
| http://www.datapol.de/dpe/recovery/ntfs/index.html and when I fire it up,
| it makes me a boot up floppy disk, informing me early on that as there is no
| OS on the floppy, it'll slap FreeDOS on it for me, then it does just that,
| and then slaps NTFS4DOS.exe on the floppy disk and all is done for me !
| ...even config.sys and autoexec.bat are configured for me !
|
| [config.sys]
| !SWITCHES=/E
| menucolor=7,0
| MENU
| menu 1 NTFS4DOS
| menu 2 Defragment NTFS
| menu 3 Check Disk GUI-Utility
|
| menudefault=1,10
| files=100
| LASTDRIVE=P
| dos=high,umb
| devicehigh=himem.exe
| 123?DEVICEHIGH=umbpci.sys
| DEVICEHIGH=udma2s.sys
|
| [autoexec.bat]
| @echo off
| @if exist vtmode.com vtmode.com
| goto %config%
| :2
| DFRGNTFS.EXE
| goto 1
| :3
| chkdskg.exe
| goto 1
| :1
| chkdsk.exe
| set ramd=
| cls
| LH NTFS4DOS.EXE /r2 %comspec% /K cpyrdcc.bat
|
| Now, when I boot up from this wonderful new floppy, screen top left I first
| get "No UMB's available," lots of messages about missing hard disks, then
| NTFS4DOS.exe runs and then eventually hangs the machine.
|
| I just did a Google
| http://www.google.co.uk/search?hl=en&q=freedos+no+umb's+available&meta=
| and people are talking about emm386.exe GOD !!!!!!!
| ...I threw away my copy of Quarterdeck hma manager YEARS AGO...
| I can't remember all that !!!! HeeeEEEELLLLP
|
| Any clues gratefully accepted !
|
| regards, Richard
|

Richard:

To use NTFS4DOS, all you need is naked DOS. That is NO CONFIG.SYS and the only command in
AUTOEXEC.BAT is NTFS4DOS.EXE.

You don't need to do memory management. It is needed. While I have not tried it, the only
modificattions would be to use EMM386.exe (or .SYS) and use SMARTDRIVE.EXE (or SYS) so you
have a hard disk cache that *may* speed up the anti virus scanner (slightly).

I truly suggest starting with Naked DOS and just NTFS4DOS.EXE. After you play with the
functionality you can adjust the boot process.

As Noel Paton has indicated, NTFS4DOS is *only* needed when scanning a NT based OS using
NTFS partitions. Win98 and FAT32 doesn't have the NTFS capability thus negating the need to
use NTFS4DOS.
 
P

Pennywise

|>I'm getting nowhere fast ! ...every couple of weeks I come back to this
|>task and don't get very far, and I've got a pile of floppy disks to prove
|>it.
|>
|>All I wanted to do was as outlined in David H Lipmans *.pdf file supplied
|>with his Multi-AV ..i.e. make a boot up floppy with NTFS4DOS on it, so that
|>I can run the command line scanners, under FREEDOS or ANY dos using his
|>supplied batch files e.g. SOFclean.bat !
|>
|>I'm beginning to wonder if I've misunderstood one or more basic concepts
|>somewhere. i.e. I know I've forgotten a lot during the past 25 years on
|>micros but, I didn't think I'd forgotten that much !
|>
|>I collected NTFS4DOS ( ntfsinst.exe ) from
|>http://www.datapol.de/dpe/recovery/ntfs/index.html and when I fire it up,
|>it makes me a boot up floppy disk, informing me early on that as there is no
|>OS on the floppy, it'll slap FreeDOS on it for me, then it does just that,
|>and then slaps NTFS4DOS.exe on the floppy disk and all is done for me !
|>...even config.sys and autoexec.bat are configured for me !
|>
|>[config.sys]
|>!SWITCHES=/E
|>menucolor=7,0
|>MENU
|>menu 1 NTFS4DOS
|>menu 2 Defragment NTFS
|>menu 3 Check Disk GUI-Utility
|>
|>menudefault=1,10
|>files=100
|>LASTDRIVE=P
|>dos=high,umb
|>devicehigh=himem.exe
|>123?DEVICEHIGH=umbpci.sys
|>DEVICEHIGH=udma2s.sys
|>
|>[autoexec.bat]
|>@echo off
|>@if exist vtmode.com vtmode.com
|>goto %config%
|>:2
|>DFRGNTFS.EXE
|>goto 1
|>:3
|>chkdskg.exe
|>goto 1
|>:1
|>chkdsk.exe
|>set ramd=
|>cls
|>LH NTFS4DOS.EXE /r2 %comspec% /K cpyrdcc.bat
|>
|>
|>Now, when I boot up from this wonderful new floppy, screen top left I first
|>get "No UMB's available," lots of messages about missing hard disks, then
|>NTFS4DOS.exe runs and then eventually hangs the machine.
|>
|>I just did a Google
|>http://www.google.co.uk/search?hl=en&q=freedos+no+umb's+available&meta=
|>and people are talking about emm386.exe GOD !!!!!!!
|>...I threw away my copy of Quarterdeck hma manager YEARS AGO...
|>I can't remember all that !!!! HeeeEEEELLLLP
|>
|>Any clues gratefully accepted !
|>
|>regards, Richard
|>

Your config.sys is wrong

devicehigh=himem.exe
must come before
dos=high,umb

Plus you can't load himem.exe high as it hasn't been created yet
(rename devicehigh to device)

Move the two commands to the very start of the config.sys file
device=himem.exe
dos=high,umb

then the rest follows it.
 
P

Pennywise

(e-mail address removed) wrote:

|>Move the two commands to the very start of the config.sys file
|>device=himem.exe
|>dos=high,umb

Also I'm sure the file is misspelled, himem.exe should be himem.sys.
but it might be what FreeDOS calls the file...

whatever tho himem must be installed before anything can be loaded
high.
 
R

RJK

Thanks Noel,

A few weeks ago I played with a W98se startup floppy and ntfs4dos.exe and
got it working, and then lost track of what I was doing - and the floppy,
....I think I may explore that avenue again.

regards, Richard


Noel Paton said:
....OTOH, you might try just formatting a floppy with Win98 System files
on it, and use the NTFS4DOS on that - it works fine here

--
Noel Paton (MS-MVP 2002-2006, Windows)

Nil Carborundum Illegitemi
http://www.crashfixpc.com/millsrpch.htm

http://tinyurl.com/6oztj

Please read on how to post messages to NG's
Noel Paton said:
You don't need NTFS4DOS with Win98 - because Win98 can't create NTFS
anyhow

Why not ask David? - his usual hangout (if you don't have his email) is
in alt.comp.virus or alt.comp.anti-virus
--
Noel Paton (MS-MVP 2002-2006, Windows)

Nil Carborundum Illegitemi
http://www.crashfixpc.com/millsrpch.htm

http://tinyurl.com/6oztj

Please read on how to post messages to NG's
RJK said:
I'm getting nowhere fast ! ...every couple of weeks I come back to
this
task and don't get very far, and I've got a pile of floppy disks to
prove
it.

All I wanted to do was as outlined in David H Lipmans *.pdf file
supplied
with his Multi-AV ..i.e. make a boot up floppy with NTFS4DOS on it, so
that
I can run the command line scanners, under FREEDOS or ANY dos using his
supplied batch files e.g. SOFclean.bat !

I'm beginning to wonder if I've misunderstood one or more basic concepts
somewhere. i.e. I know I've forgotten a lot during the past 25 years on
micros but, I didn't think I'd forgotten that much !

I collected NTFS4DOS ( ntfsinst.exe ) from
http://www.datapol.de/dpe/recovery/ntfs/index.html and when I fire it
up,
it makes me a boot up floppy disk, informing me early on that as there
is no
OS on the floppy, it'll slap FreeDOS on it for me, then it does just
that,
and then slaps NTFS4DOS.exe on the floppy disk and all is done for me
!
...even config.sys and autoexec.bat are configured for me !

[config.sys]
!SWITCHES=/E
menucolor=7,0
MENU
menu 1 NTFS4DOS
menu 2 Defragment NTFS
menu 3 Check Disk GUI-Utility

menudefault=1,10
files=100
LASTDRIVE=P
dos=high,umb
devicehigh=himem.exe
123?DEVICEHIGH=umbpci.sys
DEVICEHIGH=udma2s.sys

[autoexec.bat]
@echo off
@if exist vtmode.com vtmode.com
goto %config%
:2
DFRGNTFS.EXE
goto 1
:3
chkdskg.exe
goto 1
:1
chkdsk.exe
set ramd=
cls
LH NTFS4DOS.EXE /r2 %comspec% /K cpyrdcc.bat


Now, when I boot up from this wonderful new floppy, screen top left I
first
get "No UMB's available," lots of messages about missing hard disks,
then
NTFS4DOS.exe runs and then eventually hangs the machine.

I just did a Google
http://www.google.co.uk/search?hl=en&q=freedos+no+umb's+available&meta=
and people are talking about emm386.exe GOD !!!!!!!
...I threw away my copy of Quarterdeck hma manager YEARS AGO...
I can't remember all that !!!! HeeeEEEELLLLP

Any clues gratefully accepted !

regards, Richard
 
R

RJK

Thanks David,

I'll reorganise / retry , and have a fresh go :)

regards, Richard


David H. Lipman said:
From: "RJK" <[email protected]>

| I'm getting nowhere fast ! ...every couple of weeks I come back to
this
| task and don't get very far, and I've got a pile of floppy disks to
prove
| it.
|
| All I wanted to do was as outlined in David H Lipmans *.pdf file
supplied
| with his Multi-AV ..i.e. make a boot up floppy with NTFS4DOS on it, so
that
| I can run the command line scanners, under FREEDOS or ANY dos using his
| supplied batch files e.g. SOFclean.bat !
|
| I'm beginning to wonder if I've misunderstood one or more basic concepts
| somewhere. i.e. I know I've forgotten a lot during the past 25 years on
| micros but, I didn't think I'd forgotten that much !
|
| I collected NTFS4DOS ( ntfsinst.exe ) from
| http://www.datapol.de/dpe/recovery/ntfs/index.html and when I fire it
up,
| it makes me a boot up floppy disk, informing me early on that as there
is no
| OS on the floppy, it'll slap FreeDOS on it for me, then it does just
that,
| and then slaps NTFS4DOS.exe on the floppy disk and all is done for me
!
| ...even config.sys and autoexec.bat are configured for me !
|
| [config.sys]
| !SWITCHES=/E
| menucolor=7,0
| MENU
| menu 1 NTFS4DOS
| menu 2 Defragment NTFS
| menu 3 Check Disk GUI-Utility
|
| menudefault=1,10
| files=100
| LASTDRIVE=P
| dos=high,umb
| devicehigh=himem.exe
| 123?DEVICEHIGH=umbpci.sys
| DEVICEHIGH=udma2s.sys
|
| [autoexec.bat]
| @echo off
| @if exist vtmode.com vtmode.com
| goto %config%
| :2
| DFRGNTFS.EXE
| goto 1
| :3
| chkdskg.exe
| goto 1
| :1
| chkdsk.exe
| set ramd=
| cls
| LH NTFS4DOS.EXE /r2 %comspec% /K cpyrdcc.bat
|
| Now, when I boot up from this wonderful new floppy, screen top left I
first
| get "No UMB's available," lots of messages about missing hard disks,
then
| NTFS4DOS.exe runs and then eventually hangs the machine.
|
| I just did a Google
|
http://www.google.co.uk/search?hl=en&q=freedos+no+umb's+available&meta=
| and people are talking about emm386.exe GOD !!!!!!!
| ...I threw away my copy of Quarterdeck hma manager YEARS AGO...
| I can't remember all that !!!! HeeeEEEELLLLP
|
| Any clues gratefully accepted !
|
| regards, Richard
|

Richard:

To use NTFS4DOS, all you need is naked DOS. That is NO CONFIG.SYS and the
only command in
AUTOEXEC.BAT is NTFS4DOS.EXE.

You don't need to do memory management. It is needed. While I have not
tried it, the only
modificattions would be to use EMM386.exe (or .SYS) and use SMARTDRIVE.EXE
(or SYS) so you
have a hard disk cache that *may* speed up the anti virus scanner
(slightly).

I truly suggest starting with Naked DOS and just NTFS4DOS.EXE. After you
play with the
functionality you can adjust the boot process.

As Noel Paton has indicated, NTFS4DOS is *only* needed when scanning a NT
based OS using
NTFS partitions. Win98 and FAT32 doesn't have the NTFS capability thus
negating the need to
use NTFS4DOS.
 
R

RJK

Thanks Pennywise,

I can remember most tweaks with manually setting up config.sys and
autoexec.bat, including that himem.sys (extended memory manager), has to be
installed before emm386.exe (expanded memory manager), but, am rusty !
....I'm going to try a bare DOS as suggested by David H. Lipman

regards, Richard
 
C

cquirke (MVP Windows shell/user)

...I suppose I'd better quickly explain I do know the difference between
extended and expanded memory, and that emm386.exe is an expanded memory
emulator !

My instinct would be to use native Win98 DOS mode to host the diskette
boot and processing, rather than a 3rd-party DOS.

HiMem.sys provides eXtended Memory Services and (if directed to so via
DOS=High) conventional access to the first 64M or so beyond 1024k.

Emm386.exe can provide Expanded Memory Services (EMS) if directed to
do so via the RAM parameter, but this is generally suppressed by using
the NoEMS parameter instead. The real reason to use Emm386.exe in
most modern contexts is to facilitate conventional use of the puddles
of RAM that lie between ROMs in the region from 640k to 1024k, if this
is facilitated by using the DOS=UMB switch (UMB = Upper Memory Blocks)

You may be running out of conventional memory. You can increase
conventional memory by using DOS=High,Umb along with the relevant
memory managers (use NoEMS so you don't waste 64k on an EMS page
frame), by stripping out unneeded DOS drivers and TSRs (e.g. the
mammoth NTFS driver, if no NTFS is to be scanned) and by directing
IO.SYS and Command.com to load drivers and TSRs High by using
DeviceHigh= and LH directives, respecxtively.


--------------- ----- ---- --- -- - - -
Tech Support: The guys who follow the
'Parade of New Products' with a shovel.
 
R

RJK

Thanks cquirke,

Just before rechecking this thread, I made an MSDOS boot floppy using XP
Home ed, and put ntf4dos.exe on it. i.e.
dir a:\ > a:\list.txt

Volume in drive A has no label.
Volume Serial Number is 2A87-6CE1

Directory of A:\

08/06/2000 17:00 58,870 EGA2.CPI
08/06/2000 17:00 58,753 EGA3.CPI
08/06/2000 17:00 58,870 EGA.CPI
08/06/2000 17:00 21,607 KEYB.COM
08/06/2000 17:00 34,566 KEYBOARD.SYS
08/06/2000 17:00 31,942 KEYBRD2.SYS
08/06/2000 17:00 31,633 KEYBRD3.SYS
08/06/2000 17:00 13,014 KEYBRD4.SYS
08/06/2000 17:00 29,239 MODE.COM
08/06/2000 17:00 93,040 COMMAND.COM
08/06/2000 17:00 17,175 DISPLAY.SYS
03/07/2006 00:18 0 AUTOEXEC.BAT
03/07/2006 00:18 0 CONFIG.SYS
21/02/2006 17:38 118,667 ntfs4dos.exe
03/07/2006 12:38 0 list.txt
15 File(s) 567,376 bytes
0 Dir(s) 753,664 bytes free

....and XP mindlessly placed an empty config.sys and autoexec.bat on it!
I booted up using it, ran ntf4dos and said "Yes" to the copyright threat
:)
....changed to drive c:\ and mde the current directory c:\av-cls
....ran the batch file SOFclean.bat
....and got "...Sophos commmand line scanner is unable to find DOS4GW.exe"
(or message to that effect)
...so off I go in to the past again ! :)

I'm going to now tweak an old W98se boot up floppy, and configure config.sys
and autoexec.bat myself !

regards, Richard
 
N

Noel Paton

Since there's nothing in either the autoexec.bat or config.sys, you'll be
relying on the default PATH settings to be able to run anything off the
floppy. In the case of a WInXP Home-created disk, the OS for the floppy is
Windows ME's version of DOS.
This has no default - so commands will only be run from the context in which
they are executed
Therefore, if you a in C:\Windows, and need to run exec.bat off the floppy,
you need to use the A:\exec.bat command.

HTH
--
Noel Paton (MS-MVP 2002-2006, Windows)

Nil Carborundum Illegitemi
http://www.crashfixpc.com

http://tinyurl.com/6oztj

Please read on how to post messages to NG's
 
R

RJK

Thanks Noel
I am familiar with PATH / current directory / order of program search by msdOS (i.e. that which leads to "Bad Command or file name" ..etc.).
What I'm fumbling around with is, trying to find an easy way to do things without having to revisit MSDOS too much !
Anyway, am about to strip W98se boot floppy config.sys and autoexec.bat down from :-

{config.sys}
[menu]
menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
menuitem=HELP, View the Help file.
menudefault=CD,30
menucolor=7,0

[CD]
device=himem.sys /testmem:blush:ff
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001

[NOCD]
device=himem.sys /testmem:blush:ff

[HELP]
device=himem.sys /testmem:blush:ff

[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=ramdrive.sys /E 2048
lastdrive=z
device=display.sys con=(ega,,1)
country=044,850,country.sys
install=mode.com con cp prepare=((850) ega.cpi)
install=mode.com con cp select=850
install=keyb.com uk,,keyboard.sys

....and {autoexec.bat}
@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
cls
call setramd.bat %LglDrv%
set temp=c:\
set tmp=c:\
path=%RAMD%:\;a:\;%CDROM%:\
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
copy readme.txt %RAMD%:\ > NUL

:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
pause
GOTO ERROR

:EXT
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
echo The diagnostic tools were successfully loaded to drive %RAMD%.
echo.

IF "%config%"=="NOCD" GOTO QUIT
IF "%config%"=="HELP" GOTO HELP
LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:%CDROM%
echo.
GOTO QUIT

:HELP
cls
call help.bat
echo Your computer will now restart and the startup menu will appear.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
restart.com
GOTO QUIT

:QUIT
echo To get help, type HELP and press ENTER.
echo.
rem clean up environment variables
set CDROM=
set LglDrv=

....to

{config.sys}
device=himem.sys /testmem:blush:ff
device=oakcdrom.sys /D:mscd001
files=20
buffers=25
dos=high,umb
stacks=9,256
lastdrive=z
device=display.sys con=(ega,,1)
country=044,850,country.sys
install=mode.com con cp prepare=((850) ega.cpi)
install=mode.com con cp select=850
install=keyb.com uk,,keyboard.sys

{autoexec.bat}
@ECHO OFF
path=
LH A:\MSCDEX.EXE /D:mscd001 /L:X

....with the following files on floppy:-

Volume in drive A has no label.
Volume Serial Number is 3091-D32E

Directory of A:\

03/07/2006 13:54 50 AUTOEXEC.BAT
03/07/2006 13:56 309 CONFIG.SYS
23/04/1999 22:22 12,663 RAMDRIVE.SYS
18/05/2000 08:35 64,460 FDISK.EXE
23/04/1999 22:22 68,871 DRVSPACE.BIN
23/04/1999 22:22 93,890 COMMAND.COM
23/04/1999 22:22 33,191 HIMEM.SYS
23/04/1999 22:22 41,302 OAKCDROM.SYS
23/04/1999 22:22 17,175 DISPLAY.SYS
23/04/1999 22:22 30,742 COUNTRY.SYS
23/04/1999 22:22 58,870 EGA.CPI
23/04/1999 22:22 29,271 MODE.COM
23/04/1999 22:22 34,566 KEYBOARD.SYS
23/04/1999 22:22 19,927 KEYB.COM
24/08/1999 22:37 811 config.rjk
23/04/1999 22:22 1,103 autoexec.rjk
21/02/2006 17:38 118,667 ntfs4dos.exe
03/07/2006 14:02 0 list.txt
18 File(s) 625,868 bytes
0 Dir(s) 587,776 bytes free


....I always used to run mode.exe from autoexec.bat / never got used to the "install" feature in config.sys, anyway...let's see what this does !
I deleted ebd.cab and several aspi's so there's room to place ntfs4dos.exe on the floppy ...here goes :)

regards, Richard
 
N

Noel Paton

I'd be inclined to put an explicit PATH statement in there
perhaps.....

PATH=A:\,c:\<multi_AV path>

AFAICT, there's no need for RAMDRIVE.SYS on there, as you're not loading the
whole of the ebd CAB to memory - which would free up a little more room for
another utility if you need it - likewise, you could remove fdisk and
drvspace, neither of which can do much except get in the way in your current
context.

--
Noel Paton (MS-MVP 2002-2006, Windows)

Nil Carborundum Illegitemi
http://www.crashfixpc.com

http://tinyurl.com/6oztj

Please read on how to post messages to NG's

Thanks Noel
I am familiar with PATH / current directory / order of program search by
msdOS (i.e. that which leads to "Bad Command or file name" ..etc.).
What I'm fumbling around with is, trying to find an easy way to do things
without having to revisit MSDOS too much !
{config.sys}
device=himem.sys /testmem:blush:ff
device=oakcdrom.sys /D:mscd001
files=20
buffers=25
dos=high,umb
stacks=9,256
lastdrive=z
device=display.sys con=(ega,,1)
country=044,850,country.sys
install=mode.com con cp prepare=((850) ega.cpi)
install=mode.com con cp select=850
install=keyb.com uk,,keyboard.sys

{autoexec.bat}
@ECHO OFF
path=
LH A:\MSCDEX.EXE /D:mscd001 /L:X

....with the following files on floppy:-

Volume in drive A has no label.
Volume Serial Number is 3091-D32E

Directory of A:\

03/07/2006 13:54 50 AUTOEXEC.BAT
03/07/2006 13:56 309 CONFIG.SYS
23/04/1999 22:22 12,663 RAMDRIVE.SYS
18/05/2000 08:35 64,460 FDISK.EXE
23/04/1999 22:22 68,871 DRVSPACE.BIN
23/04/1999 22:22 93,890 COMMAND.COM
23/04/1999 22:22 33,191 HIMEM.SYS
23/04/1999 22:22 41,302 OAKCDROM.SYS
23/04/1999 22:22 17,175 DISPLAY.SYS
23/04/1999 22:22 30,742 COUNTRY.SYS
23/04/1999 22:22 58,870 EGA.CPI
23/04/1999 22:22 29,271 MODE.COM
23/04/1999 22:22 34,566 KEYBOARD.SYS
23/04/1999 22:22 19,927 KEYB.COM
24/08/1999 22:37 811 config.rjk
23/04/1999 22:22 1,103 autoexec.rjk
21/02/2006 17:38 118,667 ntfs4dos.exe
03/07/2006 14:02 0 list.txt
18 File(s) 625,868 bytes
0 Dir(s) 587,776 bytes free


....I always used to run mode.exe from autoexec.bat / never got used to the
"install" feature in config.sys, anyway...let's see what this does !
I deleted ebd.cab and several aspi's so there's room to place ntfs4dos.exe
on the floppy ...here goes :)

regards, Richard
 
R

RJK

Thanks again Noel

....I left ramdrive.sys on there ready for when I get carried away, ..not
really :)

....the boot floppy was a no go-er ! i.e. I booted up with it | ran
ntfs4dos and then |
....quicker to explain in dos prompt - I did the following

c: [Enter]
cd\ [Enter]
cd av-cls [Enter]
sofclean [Enter]
....and got a dos prompt message something like "...Sophos commad line
scanner can't find dos4gw.exe"

so I will put in a path command to drive a: and c: and maybe c:\av-cls but,
David H. Lipman has explained that drive:\pathnames are specific in his
utility, and are also specific in his batch files I've noticed e.g.

@echo off
c:
set path=%path%;C:\AV-CLS\sophos
cd C:\AV-CLS
cd Sophos
echo
*: -me -dn -nk -f -di -did -dipe -all -sc -removef -rs -dn -mime -cmz -noc -archive
-cab -xml -iscab -base64 -gzip >C:\AV-CLS\sophos\scanCMD.txt
C:\AV-CLS\sophos\SWEEP.EXE -p=AVReport.txt @C:\AV-CLS\sophos\scanCMD.txt

- quite where dos4gw.exe enters into the mix I don't know - perhaps the
sophos command line a/v scanner needs to find a dos4gw runtime library /
environment somwhere. I'll have to look more closely at the datapol boot up
floppy, I noticed that "it" was creating a ramdisk an copying stuff to it.

....continuing to fiddle :)

regards, Richard
 
D

David H. Lipman

From: "RJK" <[email protected]>

| Thanks again Noel
|
| ...I left ramdrive.sys on there ready for when I get carried away, ..not
| really :)
|
| ...the boot floppy was a no go-er ! i.e. I booted up with it | ran
| ntfs4dos and then |
| ...quicker to explain in dos prompt - I did the following
|
| c: [Enter]
| cd\ [Enter]
| cd av-cls [Enter]
| sofclean [Enter]
| ...and got a dos prompt message something like "...Sophos commad line
| scanner can't find dos4gw.exe"
|
| so I will put in a path command to drive a: and c: and maybe c:\av-cls but,
| David H. Lipman has explained that drive:\pathnames are specific in his
| utility, and are also specific in his batch files I've noticed e.g.
|
| @echo off
| c:
| set path=%path%;C:\AV-CLS\sophos
| cd C:\AV-CLS
| cd Sophos
| echo
| *: -me -dn -nk -f -di -did -dipe -all -sc -removef -rs -dn -mime -cmz -noc -archive
| -cab -xml -iscab -base64 -gzip >C:\AV-CLS\sophos\scanCMD.txt
| C:\AV-CLS\sophos\SWEEP.EXE -p=AVReport.txt @C:\AV-CLS\sophos\scanCMD.txt
|
| - quite where dos4gw.exe enters into the mix I don't know - perhaps the
| sophos command line a/v scanner needs to find a dos4gw runtime library /
| environment somwhere. I'll have to look more closely at the datapol boot up
| floppy, I noticed that "it" was creating a ramdisk an copying stuff to it.
|
| ...continuing to fiddle :)
|

Wow -- Thanx Richard.

You just caught a bug in the code where DOS3GW.EXE was NOT being extracted !

An updated version of Multi_AV.exe is being uploaded !!
 
C

cquirke (MVP Windows shell/user)

Just before rechecking this thread, I made an MSDOS boot floppy using XP
Home ed, and put ntf4dos.exe on it. i.e.
dir a:\ > a:\list.txt
Directory of A:\

FWIW, here's the file set I would retain...
08/06/2000 17:00 93,040 COMMAND.COM
03/07/2006 00:18 0 AUTOEXEC.BAT
03/07/2006 00:18 0 CONFIG.SYS
21/02/2006 17:38 118,667 ntfs4dos.exe

....to which I'd add...
- HiMem.sys
- OakCDROM.sys (I prefer AOATAPI.sys)
- MSCDEx.exe
- SmartDrv.exe
- DOSKey.*
...and to taste...
- Edit.com
- Sys.com
- Attrib.exe
- Emm386.exe
- the RAM disk driver (can't recall the name)
- Scandisk.exe
- FC.exe
....and 3rd-party tools to taste...
- PKUnZip.exe
- Extract.exe
- LL3.exe
- DiskEdit.exe
- UnErase.exe
- Mouse.com
- LFN TSR and/or Odi's LCopy.exe
- ReadNTFS and/or NTFS driver TSR
....as space permits.
...and XP mindlessly placed an empty config.sys and autoexec.bat on it!

Well, these *are* custom-editable files, after all. I can't imagine
ever using "stock" ones without some tinkering :)
I booted up using it, ran ntf4dos and said "Yes" to the copyright threat
...changed to drive c:\ and mde the current directory c:\av-cls
...ran the batch file SOFclean.bat
...and got "...Sophos commmand line scanner is unable to find DOS4GW.exe"
(or message to that effect)
..so off I go in to the past again ! :)

Sounds like a Path issue. I'd add C:\AV-CLS to the Path that is in
A:\Config.sys (use Set Path= syntax) or A:\AutoExec.bat
I'm going to now tweak an old W98se boot up floppy, and configure config.sys
and autoexec.bat myself !

Sure... I usually create a [Menu] in Config.sys offering...
- HiMem, Emm386, CD, RAMdrive, SmartDrv
- HiMem, Emm386, CD, RAMdrive
- HiMem, Emm386, CD
- HiMem, Emm386
- HiMem
- Clean
....and add DOSKey /Insert to all options where it can be loaded high
(i.e. all but the last two). Most DOS NTFS drivers take huge amount
of memory, so I don't use those much (I'd use Bart CDR in that context
instead). Also, remember the limitations of NTFS DOS drivers...
- huge memory use, as noted
- often fails to fully traverse the file system
- may not do (or do safely) writes to NTFS
- may depend on NTFS.SYS and thus crash if that crashes
- no built-in LFN support (load LFN TSR driver first)

The two NTFS drivers I'm familiar with are...
- SystemInternals freeware (read-only, no LFNs, NTFS.sys-free)
- SystemInternals feeware (read/write, no LFNs, uses NTFS.sys?)
....and I've only used the first. I generally prefer non-TSR ReadNTFS
and Odi's LFN Tools, even though they mean no NTFS and LFNs at the
same time. Note that one of the two free DOS LFN driver TSR is
seriously buggy for LFN writes (the "n" in *~n.* does not incriment!)

-- Risk Management is the clue that asks:
"Why do I keep open buckets of petrol next to all the
ashtrays in the lounge, when I don't even have a car?"
 
R

RJK

....you mean "tireless trying to remember how to work with msdos" :)

thanx David ...continuing to fiddle with my boot disk !

regards, Richard
 
D

David H. Lipman

From: "RJK" <[email protected]>

| ...you mean "tireless trying to remember how to work with msdos" :)
|
| thanx David ...continuing to fiddle with my boot disk !
|
| regards, Richard
|

If you didn't... Well, who knows when the bug would have been found. :)
 
Top