home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
BF
/
BF098.ZIP
/
_SETUP_.EXE
/
SETUP.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-12-19
|
2KB
|
43 lines
echo off
rem SETUP.BAT initialization file for The Retailer V4.05
rem This moves sample data for the tutorial to the data directory
IF EXIST INVNTORY\datafile.dat goto ini
cls
echo: making data directory
MD invntory
echo: COPY SAMPLE DATA FOR TUTORIAL TO data directory
echo on
copy datafile.dat invntory
copy datafile.ndx invntory
copy datafile.stx invntory
echo off
pause Sample Data copied Press a Key...
:INI
cls
echo: Instructions to initialize the RETAILER.INI file.
IF NOT EXIST RETAILER.INI GOTO INSTRUCT
echo: FOUND RETAILER.INI file. Contents are:
type retailer.ini
echo:
echo: If this is the Drive:\Directory where you installed the
echo: program then, you are finished with the initialization.
echo: If this is not the correct Drive:\directory then,
:INSTRUCT
ECHO: This program needs to know the [Drive]:\[Directory]
echo: where you installed the software.
echo:
echo: Please type: COPY CON RETAILER.INI [Press Enter]
echo: type: [Drive]:\[Directory] [Press F6] [Press Enter]
echo:
echo: Substitute your drive letter for [Drive] and your directory name
echo: for [Directory]. Don't forget to sandwich the :\ between the
echo: Drive & Directory. Press F6 immediately after the directory name. No spaces.
echo:
echo: Example: COPY CON RETAILER.INI [Enter]
echo:" Example: C:\RETAILER^Z [Enter] "
echo:" (The F6 key puts the ^Z on the line ) "
echo:
echo: P.S. It is not wise to install any software to a root directory.
echo:"If you do, then only use the drive letter and colon. EXAMPLE D:^Z [Enter]"
echo: