Here is a copy of my autoexec.bat:
QUOTE
@echo off
Path=c:\;c:\dos;c:\files;c:\programs;
prompt $p$g
MOUSE
doskey
goto %config%
:Local
goto next
:INTELPRO
set bind=INTELPRO
:INTEL82567
set bind=INTEL82567
:INTEL
set bind=INTEL
:YUKON
set bind=YUKON
:REALTEK
set bind=REALTEK
:3COM
set bind=3COM
:AMD
set bind=AMD
:PCI
c:\dos\pciscan.bat
:end
c:\dos\netbind.com
c:\files\1.bat
:next
c:\files\0.bat
And here is a copy of config.sys
QUOTE
[menu]
menuitem=Local, Local [ DOS Prompt ]
menuitem=INTEL82567, Intel [ Tecra A10 ]
menuitem=INTELPRO, Intel [ D945GTP, DQ35JO, Tecra A8, A9 ]
menuitem=YUKON, Yukon [ D915GAG, Tecra A3 ]
menuitem=INTEL, Intel [ D865Perl, Tecra A2, Satellite R10 ]
menuitem=REALTEK, Realtek [ Satellite A70, A20 ]
menuitem=3COM, 3COM [ 3COM PCI ]
menuitem=AMD, AMD [ VMWare Nic ]
menuitem=PCI, PCI [ Testing ]
MenuDefault MS-DOS
MenuColor 15,1
[Local]
[INTEL82567]
device=c:\dos\protman.dos /I:\
device=c:\dos\dis_pkt.dos
device=c:\Drivers\e1000.DOS
[INTELPRO]
device=c:\dos\dosprotman.dos /I:\
device=c:\dos\dis_pkt.dos
device=c:\Drivers\e1000b.DOS
[YUKON]
device=c:\dos\protman.dos /I:\
device=c:\dos\dis_pkt.dos
device=c:\Drivers\yuknd.dos
[INTEL]
device=c:\dos\protman.dos /I:\
device=c:\dos\dis_pkt.dos
device=c:\Drivers\e100b.dos
[REALTEK]
device=c:\dos\protman.dos /I:\
device=c:\dos\dis_pkt.dos
device=c:\Drivers\rtsnd.dos
[3COM]
device=c:\dos\protman.dos /I:\
device=c:\dos\dis_pkt.dos
device=c:\Drivers\el90x.dos
[AMD]
device=c:\dos\protman.dos /I:\
device=c:\dos\dis_pkt.dos
device=c:\Drivers\pcntnd.dos
[PCI]
Echo Test
and here is a copy of pciscan.bat
QUOTE
@echo off
rem Sample batchfile for loading Dos ASPI device drivers (up to 3)
rem batchfile uses 'device.com' for loading them
set pci0=
set pci1=
set pci2=
pciscan.exe -v c:\dos\nic.map
if errorlevel 1 goto _err1
if "%pci0%" == "pcntnd.dos" goto AMD
echo Loading %pci0%
device.com %pci0%
if errorlevel 1 goto _err2
rem Check for second adapter
if "%pci1%" == "" goto _end
echo Loading %pci1%
device.com %pci1%
if errorlevel 1 goto _err2
rem Check for third adapter
if "%pci2%" == "" goto _end
echo Loading %pci2%
device.com %pci2%
if errorlevel 1 goto _err2
:AMD
device=c:\dos\protman.dos /I:\
device=c:\dos\dis_pkt.dos
device=c:\Drivers\pcntnd.dos
goto _end
:_none
echo *** PCISCAN did not find any matching PCI device(s)
echo Here's a list of devices in your system, check if your adapter
echo needs to be added to the mapfile.
echo.
pciscan -v
pause
goto _end
:_err1
echo *** PCISCAN returned an error...
pause
goto _end
:_err2
echo *** Error loading device driver...
pause
:_end
rem End of sample batchfile
Once I create an ISO from winimage and then boot using virtual image, I can find virtual nic (AMD) but when I use the menu option then I got this error:
"Bad command or file name"
Can anyone tell me why am i getting this error?
Thanks,
P.S: sorry for the very long post