home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Encyclopedia 96-1
/
novell-nsepro-1996-1-cd2.iso
/
download
/
netware
/
d72pnw.exe
/
CREATE.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-10-31
|
14KB
|
501 lines
@echo off
IF "%1" == "/?" GOTO HELP
IF "%1" == "HELP" GOTO HELP
IF "%1" == "Help" GOTO HELP
IF "%1" == "help" GOTO HELP
IF "%1" == "skip" goto next1
IF "%1" == "SKIP" goto next1
IF "%1" == "Skip" goto next1
IF "%1" == "DELETE" GOTO DEL
IF "%1" == "Delete" GOTO DEL
IF "%1" == "delete" GOTO DEL
goto next2
:next1
IF "%2" == "" GOTO help
goto makepnw
:next2
IF "%2" == "" GOTO help
cls
echo ***********************************************************************
echo.
echo Copyright (c) Novell Inc. 1995
echo.
echo This routine is provided by Novell to create a Personal NetWare
echo installation disk set from the Novell DOS 7 installation disk set.
echo.
echo REQUIREMENTS: The Novell DOS 7 3.5" diskette set (6 disks)
echo Three (3) blank, formatted 3.5" 1.44 MB diskettes
echo Or, Three (3) blank, formatted 5.25" 1.2 MB diskettes
echo.
echo Label the three (3) disks: "Disk 1 of 3", "Disk 2 of 3", "Disk 3 of 3".
echo.
echo This routine will first create 3 temporary directories: DISK1, DISK2,
echo and DISK3 on the current drive. There MUST be 4 MB of free disk space.
echo Necessary files will be copied off of the six (6) Novell DOS 7
echo diskettes to the temporary directories. The routine will copy
echo the contents of the three temporary directories to three (3) floppy
echo disks. The routine will then remove the temporary directories.
echo.
echo Press "ctrl" "C" and answer "Y" at any time to terminate this routine.
echo ***********************************************************************
echo.
pause
echo Three temporary disk image directories will now be created.
@echo on
md disk1
md disk2
md disk3
@echo off
echo.
echo The files included in the download will now be copied to
echo their appropriate locations.
echo.
pause
rem ***** Download Files *****
IF EXIST SETUP.INI GOTO CONT0
ECHO.
ECHO ERROR! Unable to find the download files. Be sure all files that were
echo included in the download file are in the current directory.
goto end
:CONT0
copy setup.in* disk1
copy install.ex* disk1
copy winstall.hl* disk1
copy wsetup.bm* disk1
copy novell.bm* disk1
copy novlogo1.bm* disk1
copy dosinst.ov* disk1
copy setup.hl* disk1
copy colors.in* disk1
copy readpnw.tx* disk3\readme.txt
rem ***** ND7 Disk 1 *****
:disk1
echo.
echo *************************************************
echo.
echo Insert the Novell DOS 7 disk "1 of 6" in drive %1
echo.
pause
IF EXIST %1\HRMIB.INI GOTO CONT1
ECHO ERROR! Unable to find necessary files on the disk in drive %1
goto disk1
:CONT1
copy %1\hrmib.in* disk1
copy %1\dblbuf.sy* disk2
copy %1\pnunpack.ex* disk3
rem ********* ND7 Disk 2 *****
:disk2
echo.
echo *************************************************
echo.
echo Insert the Novell DOS 7 disk "2 of 6" in drive %1
echo.
pause
IF EXIST %1\nwcache.exe GOTO CONT2
ECHO ERROR! Unable to find necessary files on the disk in drive %1
goto disk2
:cont2
copy %1\nwcache.ex* disk3
copy %1\nwcache.ov* disk3
copy %1\netwars.ex* disk3
rem ********* ND7 Disk 3 *****
:disk3
echo.
echo *************************************************
echo.
echo Insert the Novell DOS 7 disk "3 of 6" in drive %1
echo.
pause
IF EXIST %1\vipx.38_ GOTO CONT3
ECHO ERROR! Unable to find necessary files on the disk in drive %1
goto disk3
:cont3
copy %1\vipx.38* disk2
copy %1\serno.ex* disk3
rem ********* ND7 Disk 4 *****
:disk4
echo.
echo *************************************************
echo.
echo Insert the Novell DOS 7 disk "4 of 6" in drive %1
echo.
pause
IF EXIST %1\auto.vl_ GOTO CONT4
ECHO ERROR! Unable to find necessary files on the disk in drive %1
goto disk4
:cont4
copy %1\auto.vl* disk1
copy %1\bind.vl* disk1
copy %1\conn.vl* disk1
copy %1\fio.vl* disk1
copy %1\general.vl* disk1
copy %1\ipxncp.vl* disk1
copy %1\nds.vl* disk1
copy %1\netx.vl* disk1
copy %1\nmr.vl* disk1
copy %1\nwp.vl* disk1
copy %1\pnw.vl* disk1
copy %1\print.vl* disk1
copy %1\redir.vl* disk1
copy %1\rsa.vl* disk1
copy %1\security.vl* disk1
copy %1\vlm.ex* disk3
copy %1\dosrqstr.ms* disk1
copy %1\nmr.ms* disk1
copy %1\netc.ms* disk1
copy %1\netu.ov* disk1
copy %1\net.ex* disk2
copy %1\neta.hl* disk2
copy %1\netu.hl* disk2
copy %1\netw.ex* disk2
copy %1\ipxodi.co* disk2
copy %1\lsl.co* disk2
copy %1\netbios.ex* disk2
copy %1\odinsup.co* disk2
copy %1\ipxodi.ms* disk2
copy %1\tran.vl* disk2
copy %1\uni_1252.pa* disk3
copy %1\uni_437.pa* disk3
copy %1\uni_col.pa* disk3
copy %1\uni_mon.pa* disk3
copy %1\workgrp disk3
copy %1\handle disk3
copy %1\nlmigrat.ms* disk3
rem ********* ND7 Disk 5 *****
:disk5
echo.
echo *************************************************
echo.
echo Insert the Novell DOS 7 disk "5 of 6" in drive %1
echo.
pause
IF EXIST %1\nwcalls.dl__ GOTO CONT5
ECHO ERROR! Unable to find necessary files on the disk in drive %1
goto disk5
:cont5
copy %1\nwcalls.dl* disk3
copy %1\nwlocale.dl* disk3
copy %1\neta.ov* disk2
copy %1\netu2.ov* disk2
copy %1\netwpnw.dl* disk2
copy %1\netwhelp.hl* disk2
copy %1\nwgdi.dl* disk2
copy %1\nwnet.dl* disk2
copy %1\nwpsrv.dl* disk2
copy %1\taskid.co* disk2
copy %1\tbmi2.co* disk2
copy %1\taskid.ms* disk2
copy %1\tbmi2.ms* disk2
copy %1\netware.dr* disk2
copy %1\nwpopup.ex* disk2
copy %1\nwrcon.pi* disk3
copy %1\vnetware.38* disk2
copy %1\netware.hl* disk2
copy %1\ibm_run.ov* disk2
copy %1\pnwdiag.da* disk2
copy %1\pnwdiag.ex* disk3
copy %1\pnwdiagw.dl* disk3
copy %1\pnwdiags.he* disk3
copy %1\pnwdiags.ms* disk3
copy %1\textutil.ms* disk2
copy %1\nlmigrat.ex* disk3
copy %1\hostmib.mi* disk3
copy %1\hrmib.ex* disk3
copy %1\version.ex* disk3
copy %1\mib2if.vl* disk3
copy %1\mib2prot.vl* disk3
copy %1\pnwmib.vl* disk3
copy %1\pnwtrap.vl* disk3
copy %1\stpipx.co* disk3
copy %1\stpudp.co* disk3
copy %1\wsasn1.vl* disk3
copy %1\wsreg.vl* disk3
copy %1\wssnmp.vl* disk3
copy %1\wstrap.vl* disk3
copy %1\pnw.mi* disk3
copy %1\pnwtrap.mi* disk3
copy %1\mib2if.ms* disk3
copy %1\mib2prot.ms* disk3
copy %1\pnwmib.ms* disk3
copy %1\pnwtrap.ms* disk3
copy %1\stpipx.ms* disk3
copy %1\stpudp.ms* disk3
copy %1\wsasn1.ms* disk3
copy %1\wsreg.ms* disk3
copy %1\wssnmp.ms* disk3
copy %1\wstrap.ms* disk3
copy %1\nwipxspx.dl* disk3
copy %1\pnw.dl* disk3
copy %1\resource disk3
copy %1\security disk3
copy %1\server disk3
copy %1\user disk3
copy %1\server.ms* disk3
copy %1\ins.oe* disk3
rem ********* ND7 Disk 6 *****
:disk6
echo.
echo *************************************************
echo.
echo Insert the Novell DOS 7 disk "6 of 6" in drive %1
echo.
pause
IF EXIST %1\drivers.dos GOTO CONT6
ECHO ERROR! Unable to find necessary files on the disk is drive %1
goto disk6
:cont6
copy %1\drivers.do* disk1
copy %1\null.co* disk1
copy %1\null.in* disk1
copy %1\ne1000.co* disk1
copy %1\ne1000.in* disk1
copy %1\ne1500t.co* disk1
copy %1\ne1500t.in* disk1
copy %1\ne2.co* disk1
copy %1\ne2.in* disk1
copy %1\ne2000.co* disk1
copy %1\ne2000.in* disk1
copy %1\ne2100.co* disk1
copy %1\ne2100.in* disk1
copy %1\ne2_32.co* disk1
copy %1\ne2_32.in* disk1
copy %1\ne3200.co* disk1
copy %1\ne3200.in* disk1
copy %1\ntr2000.co* disk1
copy %1\ntr2000.in* disk1
copy %1\3c5x9.co* disk1
copy %1\3c5x9.in* disk1
copy %1\3c503.co* disk1
copy %1\3c503.in* disk1
copy %1\3c523.co* disk1
copy %1\3c523.in* disk1
copy %1\ceodi.co* disk1
copy %1\ceodi.in* disk1
copy %1\e20odi.co* disk1
copy %1\e20odi.in* disk1
copy %1\e21odi.co* disk1
copy %1\e21odi.in* disk1
copy %1\e2hodi.co* disk1
copy %1\e2hodi.in* disk1
copy %1\e30odi.co* disk1
copy %1\e30odi.in* disk1
copy %1\e31odi.co* disk1
copy %1\e31odi.in* disk1
copy %1\es3210.co* disk1
copy %1\es3210.in* disk1
copy %1\exp16odi.co* disk1
copy %1\exp16odi.in* disk1
copy %1\hpisaodi.co* disk1
copy %1\hpisaodi.in* disk1
copy %1\hpmcaodi.co* disk1
copy %1\hpmcaodi.in* disk1
copy %1\ibmfddio.co* disk1
copy %1\ibmfddi.bi* disk1
copy %1\ibmfddio.in* disk1
copy %1\ibmodish.co* disk1
copy %1\ibmodish.in* disk1
copy %1\intel593.co* disk1
copy %1\intel593.in* disk1
copy %1\ncrwl05.co* disk1
copy %1\ncrwl05.in* disk1
copy %1\ni5210.co* disk1
copy %1\ni5210.in* disk1
copy %1\ni6510.co* disk1
copy %1\ni6510.in* disk1
copy %1\ni9210.co* disk1
copy %1\ni9210.in* disk1
copy %1\smc8000.co* disk1
copy %1\smc8000.in* disk1
copy %1\smc8100.co* disk1
copy %1\smc8100.in* disk1
copy %1\t20odi.co* disk1
copy %1\t20odi.in* disk1
copy %1\tccarc.co* disk1
copy %1\tccarc.in* disk1
copy %1\tce16atw.co* disk1
copy %1\tce16atw.in* disk1
copy %1\tce32mcw.co* disk1
copy %1\tce32mcw.in* disk1
copy %1\tctoksh.co* disk1
copy %1\tctoksh.in* disk1
copy %1\token.co* disk1
copy %1\token.in* disk1
copy %1\pcmdm.co* disk1
copy %1\pcmdm.in* disk1
copy %1\pcn2l.co* disk1
copy %1\pcn2l.in* disk1
copy %1\pe2odi.co* disk1
copy %1\pe2odi.in* disk1
copy %1\madgeodi.co* disk1
copy %1\mdgdos02.bi* disk1
copy %1\madgeodi.in* disk1
copy %1\osh391r.co* disk3
copy %1\osh391r.in* disk3
copy %1\trxnet.co* disk3
copy %1\trxnet.in* disk3
copy %1\pnwdiag.hl* disk3
copy %1\textutil.id* disk2
copy %1\dpms.ex* disk3
copy %1\dosgen.ex* disk2
copy %1\rplfix.co* disk2
copy %1\pnwdiags.ex* disk3
copy %1\ether.rp* disk3
copy %1\nearserv.ex* disk3
copy %1\pcn2l.rp* disk3
copy %1\rboot.rp* disk3
copy %1\rpl.co* disk3
copy %1\rplodi.co* disk3
copy %1\token.rp* disk3
copy %1\server.ex* disk3
rem ********* BREAK POINT *****
:makepnw
:dest1
echo.
echo *********************************************************
echo.
echo Ready to copy the Personal NetWare files to the three (3)
echo blank, formatted, high density diskettes in drive %2
echo.
echo Insert the new Personal NetWare disk 1 of 3 in drive %2
echo.
echo *********************************************************
echo.
pause
if exist %2\*.* goto fail1
copy disk1\*.* %2
goto cont7
:fail1
echo.
echo ERROR! The disk in drive %2 is not blank. Either insert a blank disk
echo or end this process by pressing "ctrl" "C" and answer "Y".
goto dest1
:cont7
:dest2
echo.
echo *******************************************************
echo.
echo Insert the new Personal NetWare disk 2 of 3 in drive %2
echo.
echo *******************************************************
echo.
pause
if exist %2\*.* goto fail2
copy disk2\*.* %2
goto cont8
:fail2
echo.
echo ERROR! The disk in drive %2 is not blank. Either insert a blank disk
echo or end this process by pressing "ctrl" "C" and answer "Y".
goto dest2
:cont8
:dest3
echo.
echo *******************************************************
echo.
echo Insert the new Personal NetWare disk 3 of 3 in drive %2
echo.
echo *******************************************************
echo.
pause
if exist %2\*.* goto fail3
copy disk3\*.* %2
goto cont9
:fail3
echo.
echo ERROR! The disk in drive %2 is not blank. Either insert a blank disk
echo or end this process by pressing "ctrl" "C" and answer "Y".
goto dest3
:cont9
:DEL
echo.
echo ***************************************************************
echo.
Echo The three temporary disk image directories and download files
echo will now be removed. Press "ctrl" "C" and answer "Y" to keep
echo the image directories and files, otherwise,
echo.
Pause
Echo Searching for removal utility
echo.
If exist c:\nwdos\xdel.exe goto xdel
If exist c:\dos\deltree.exe goto deltree
If exist c:\windows\deltree.exe goto deltree
If exist c:\windows\command\deltree.exe goto deltree
echo.
Echo Unable to find a removal utility. The temporary directories will
echo be removed with basic DOS commands. DOS will prompt "are you sure?"
echo regarding DEL *.*, answer Y to this prompt.
Echo.
@echo on
cd disk1
del *.*
Cd..
Rd disk1
cd disk2
del *.*
Cd..
Rd disk2
cd disk3
del *.*
Cd..
Rd disk3
@echo off
goto delfiles
:xdel
echo XDEL removal utility found
echo Removing temporary directories & download files
c:\nwdos\xdel disk1 /srdn
c:\nwdos\xdel disk2 /srdn
c:\nwdos\xdel disk3 /srdn
goto delfiles
:deltree
echo DELTREE removal utility found
echo Removing temporary directories & download files
c:\dos\deltree /y disk1
c:\dos\deltree /y disk2
c:\dos\deltree /y disk3
goto delfiles
:delfiles
del setup.in*
del install.ex*
del winstall.hl*
del wsetup.bm*
del novell.bm*
del novlogo1.bm*
del dosinst.ov*
del setup.hl*
del colors.in*
del readpnw.tx*
del readme.txt
goto end
:HELP
echo *************************************************************************
echo.
echo A Source and Destination drive letter MUST be entered.
echo.
echo USAGE: CREATE (source): (destination):
echo.
echo If the Novell DOS 7 disks will be read in the A: drive AND the new
echo Personal NetWare disk set will be created in the A: drive, enter:
echo.
echo CREATE A: A:
echo.
Echo If the Novell DOS 7 disks will be read in the A: drive and the new
echo Personal NetWare disk set will be created on the B: drive, enter:
echo.
Echo CREATE A: B:
echo.
echo 'SKIP' can be used to "skip" the copying of files off of the Novell DOS
echo 7 disks (assuming the files have already been read off of the disks)
echo and jump to creating the new Personal NetWare disk set, enter:
echo.
echo CREATE SKIP (destination):
echo.
echo *************************************************************************
goto done
:END
echo End Of Routine
echo.
echo A "Batch File Missing" error may appear. This is not a problem.
del create.bat
:done