Auto Dos 6.22 install from cd (.bat help)

June 6, 2009 at 11:07:37
Specs: Dos 6.22 WFWG 3.11, 64
Hey I'm trying to make a .bat to auto install dos from cd.

I have a gateway 2000 cd v1.1 and a micron boot disk.

Downloaded the file dosbot29.exe (boot disk)

What I want the .bat to do.

1.automatic fdisk then reboot
2.skip fdisk auto format c:
3.copy dos files from cd to c:\dos
4.copy system files to c:\
5.install cd driver to c:\cdrom

I'm trying to copy how the micron boot disk installs.

Setup.bat

Create partition?

................[Y][n]

yes

fdisk<fdisk.scr

no

goto format c:

md c:\dos
set cddrive=d:
setcd.com
%cddrive%
cd dos
xcopy *.* c:\dos

copy to c:
IO.SYS
MSDOS.SYS
COMMAND.COM
WINA20.386

make files autoexec.bat config.sys

edit autoexec.bat

C:\DOS\SMARTDRV.EXE /X
@ECHO OFF
PROMPT $p$g
PATH C:\DOS
SET TEMP=C:\DOS

edit config.sys

DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\DOS\HIMEM.SYS
DOS=HIGH
FILES=30

goto Install cd driver

................[Y][N]

yes

@echo off
if not exist c:\cdrom\nul
md c:\cdrom
copy a:\cdrom\cdrom.sys c:\cdrom
copy \mscdex.exe c:\cdrom

make file LOADCD.BAT

edit LOADCD.BAT
@echo off
\cdrom\mscdex /d:%cdrom%

edit autoexec.bat

@call cdrom\loadcd.bat

edit config.sys

device=cdrom\cdrom.sys /d:cdrom_cd0
set cdrom=cdrom_cd0

quit

no

quit


See More: Auto Dos 6.22 install from cd (.bat help)

Report •

#1
June 7, 2009 at 20:54:58
@ECHO OFF
CLS
ECHO 1. Install MS-DOS 6.22
ECHO 2. Quit
choice /C:12

if errorlevel 2 goto quit
if errorlevel 1 goto install

:Install
choice /C:YN Partition hard drive?

if errorlevel 2 goto no
if errorlevel 1 goto yes

:yes
fdisk<fdisk.scr

:no
format c:
sys d: c:
copy WINA20.386 c:
md c:\dos
set cddrive=d:
setcd.com
%cddrive%
cd dos
xcopy *.* c:\dos
cd d:\
copy autoexec.txt c:
ren c:\autoexec.txt autoexec.bat
copy config.txt c:
ren c:\config.txt config.sys
if not exist c:\cdrom\nul md c:\cdrom
copy d:\cdrom\OAKCDROM.SYS c:\cdrom
copy mscdex.exe c:\cdrom
copy loadcd.txt c:\cdrom
ren c:\cdrom\loadcd.txt loadcd.bat
cls
@ECHO OFF
ECHO MS-DOS 6.22 is now installed, restart your computer.

:quit
exit

I dont know how to make a file like autoexec.bat then add text to it from setup or how to make a .bat to check if the drive is partitioned and formatted like the micron boot disk.


Report •

#2
September 8, 2009 at 22:14:06
Hi guys,
I need to send a .bat or .vbs file tru an email, and i need it to install in a folder on C: drive automaticly. Basicly u get the mail, , then clic on the file, , clic yes, and it auto instal in the start folder.
Can someone tell me how to do that, or where to get the info..

thanks


Report •

#3
February 9, 2010 at 05:24:08
thats hard sending those kinds of files, im good with .bat (batch) files if your email lets you send .exe files you can compile the batch file OR just send it as a txt and tell them to save it as batch.bat ill make a batch file for you just tell me what you want to do :) - andre.lipke@gmail.com
- lol they actualy support HTML in the post hmm...


Report •
Related Solutions


Ask Question