home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeedleCraft Plus
/
needlecraftplusvolume1.iso
/
dos
/
fabr301
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1994-09-10
|
2KB
|
83 lines
@Echo off
Cls
Echo
---** Installation program for FABRIC **---
If not exist fabric.exe goto noexe
If not exist fabric.doc goto nodoc
If not exist designs\nul goto dirnotexist
Goto dircreOK
:noexe
Echo Error: The executable file FABRIC.EXE is missing.
Goto end
:nodoc
Echo Error: The manual file FABRIC.DOC is missing.
Goto end
:dirnotexist
Echo
This program should be run from the directory where you intend to keep FABRIC.
Echo
Subdirectory DESIGNS now will be created under the current directory.
Echo Press Ctrl-C to cancel.
Pause
Md designs
If exist designs\nul goto dircreOK
Echo
Error: Could not create subdirectory DESIGNS.
Goto end
:dircreOK
If exist demo1v.fab goto demintdir
Echo
Warning: The DEMO?V.FAB files appear to be missing from the current directory.
Echo Press Ctrl-C to abort installation.
Pause
:demintdir
Copy *.FAB designs
If exist designs\demo1v.fab goto delthefabs
Echo
Error: The DEMO?V.FAB files did not copy to subdirectory DESIGNS.
Echo Installation aborted.
Goto end
:delthefabs
Del *.fab
:OK
Echo
Installation complete.
If exist fabr301.zip goto removearc
If exist fabr301.lzh goto removearc
If exist fabr301.zoo goto removearc
If exist fabr301.pak goto removearc
If exist fabr301.arc goto removearc
If not exist fabr301.exe goto noremovearc
:removearc
Echo If this is a hard disk, to save disk space it is recommended to delete the
Echo archived distribution file. Save the distribution file on a floppy for
Echo backup, and to distribute FABRIC to your friends.
Echo The distribution file is listed below:
Dir fabr301.*
:noremovearc
Echo
For a test run of FABRIC, type DEMO.
:end