home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 20 NDrivers
/
20-NDrivers.zip
/
wplan5.zip
/
CPY2HDSK.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-09-17
|
2KB
|
66 lines
echo off
cls
rem *** perform basic checks ***
if not exist util\confutil.exe goto not_logged_on
if "%1"=="" goto no_params
if exist %1\util\confutil.exe goto dir_exists
rem
rem *** start copying ***
echo Copying WavePOINT files to harddisk
echo ===================================
echo.
echo One moment please....
md %1
copy cf2boot.bat %1 > NUL:
copy readme.1st %1 > NUL:
copy utl2boot.bat %1 > NUL:
copy wpntprf.txt %1 > NUL:
md %1\env
copy \env\*.* %1\env > NUL:
md %1\util
copy \util\*.* %1\util > NUL:
md %1\mib
copy \mib\*.* %1\mib > NUL:
echo cd %1\util >> %1\env\autoexec.bat
echo confutil >> %1\env\autoexec.bat
echo.
echo 1) Change to the %1 directory on the hard disk.
echo 2) Insert a blank formatted diskette in drive A:.
echo 3) Execute the batch file CF2BOOT.BAT to create a Configurator environment
echo diskette.
echo Execute the batch file UTL2BOOT.BAT to create a utilities environment
echo diskette. Utilities are:
echo Access Control Table Manager;
echo Point-to-Point Diagnostics;
echo WaveMonitor Tool;
echo WaveLAN Frequency Select Utility.
echo.
goto end
rem ----------------------------------------------------------------------------
:not_logged_on
echo You must be at the prompt of the drive containing the WavePOINT diskette
echo to run this batch file (e.g. A:).
goto err_end
rem ----------------------------------------------------------------------------
:no_params
echo You must supply the destination path on the command line,
echo e.g. cpy2hdsk c:\wavepnt.
goto err_end
rem ----------------------------------------------------------------------------
:dir_exists
echo The directory %1 already exists, please remove this directory
echo before installing the WavePOINT software.
echo.
echo NOTE: You may wish to keep the configuration files (WPLOG.TXT, xxxx.CFG,
echo xxxx.TBL) from the old directory.
rem ----------------------------------------------------------------------------
goto err_end
:end
echo.
c:
cd %1
:err_end
echo on