home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
macros
/
gsf20
/
gsf20.exe
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-01-19
|
2KB
|
63 lines
@echo off
if (%1)==() goto USAGE
if (%2)==() goto USAGE
if not exist install.bat goto USAGE
if not exist gscript.dot goto nofile
if not exist gscript.doc goto nofile
if not exist gsdemo.doc goto nofile
if not exist gscript.hlp goto nofile
ECHO Copying GSCRIPT.DOT, GSCRIPT.DOC, GSDEMO.DOC to DOT Path.
COPY GSCRIPT.DOT %2 >Nul
COPY GSCRIPT.DOC %2 >Nul
COPY GSDEMO.DOC %2 >Nul
ECHO Copying GSCRIPT.HLP to word program path.
COPY GSCRIPT.HLP %1 >Nul
Echo.
echo Enter Word for Windows and Open the file %2\GSCRIPT.DOC.
echo This file is the documentation, and also contains a self
echo running demo.
echo.
echo Enjoy.
goto DONE
:USAGE
cls
echo.
echo ────────────────────────────────────────────────────────
echo USAGE: install [word program path] [DOT file path]
echo ────────────────────────────────────────────────────────
echo Installs GSCRIPT files from the *current* drive or
echo directory into the specified directories.
echo.
echo Both the word program path and the DOT file path must
echo already exist.
echo ┌┬──────────────────────────────────────────────────────────┐
echo ││ By default WfW installs into C:\WINWORD and DOT files │
echo ││ are also copied to C:\WINWORD. │
ECHO ││ If you are unsure of the program dir, enter FileManager │
echo ││ and locate WINWORD.EXE. │
echo ││ If you are unsure of the Dot-Path, enter FileManager and │
echo ││ locate NORMAL.DOT (or any other DOT file). │
echo └┴──────────────────────────────────────────────────────────┘
echo Do not append a final backslash on any of the path
echo designations
echo ─────────────────────────────────────────────────
echo EXAMPLE: install c:\winword c:\winword
echo.
echo install c:\winword c:\winword\dot
pause
Goto DONE
:NoFile
cls
echo Source file not found
echo.
echo One or more of the files listed below were not found in the
echo current directory.
echo.
echo GSCRIPT.DOT, GSCRIPT.DOC, GSDEMO.DOC, GSCRIPT.HLP.
echo.
pause
:DONE