home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
BF
/
BF154.ZIP
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1991-09-23
|
2KB
|
78 lines
@echo off
cls
if "%1==" goto hlpinst
if "%2==" goto hlpinst
:loop1
Cls
pause
cls
echo Insert Program Disk in drive %1
echo Files will be copied to %2\ICP
echo .
pause
if exist unpack.exe goto ok1
cls
echo Wrong disk or missing files...
echo INSTALLATION ABORTED!
goto end
:ok1
cls
echo Copying the ICP System files to Drive %2\ICP
%2
cd\
md\icp
cd\ICP
if exist inven.dbf goto ok2
%1unpack
goto ok3
:ok3
cls
echo ICP System files successfully installed.
echo .
echo WARNING! The ICP will not run unless certain system parameters are
echo properly established. Consult the "readme.doc" file for information
echo concerning this process.
echo .
echo You may print document files by typing the command "print <file.ext>".
echo For example, to print the readme.doc file, type "print readme.doc "
echo and hit the ENTER key.
echo .
echo You may view document files by entering the command "view <file.ext>".
echo For example, to view the readme.doc file, type "view readme.doc" and
echo hit the ENTER key.
echo .
echo For information about the PICS point-of-sale package, refer to the
ECHO pics.doc file!
ECHO .
echo Thank you!
echo God Bless!
goto end
:hlpinst
cls
echo The correct syntax is "install <source: target:>"
echo INSTALLATION ABORTED!
goto end
:ok2
RENAME INVEN.* XINVEN.*
rename help.* xhelp.*
rename po.* xpo.*
rename vendor.* xvendor.*
del *.bat
del *.doc
del *.exe
del *.frm
del *.ntx
del config.sys
%1unpack
TRANSFER
del transfer.exe
goto ok3
:end