home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-386-Vol-2of3.iso
/
c
/
cwrtr12.zip
/
CWDEMO.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-12-22
|
4KB
|
165 lines
@echo off
if "%1"=="" goto example
if "%1"=="?" goto example
if not exist cwdemo.bat goto chgdir
if "%1"=="C:" goto install
if "%1"=="D:" goto install
if "%1"=="E:" goto install
if "%1"=="F:" goto install
if "%1"=="G:" goto install
if "%1"=="H:" goto install
if "%1"=="I:" goto install
if "%1"=="J:" goto install
if "%1"=="K:" goto install
if "%1"=="L:" goto install
if "%1"=="M:" goto install
if "%1"=="N:" goto install
if "%1"=="O:" goto install
if "%1"=="P:" goto install
if "%1"=="Q:" goto install
if "%1"=="R:" goto install
if "%1"=="S:" goto install
if "%1"=="T:" goto install
if "%1"=="U:" goto install
if "%1"=="V:" goto install
if "%1"=="W:" goto install
if "%1"=="X:" goto install
if "%1"=="Y:" goto install
if "%1"=="Z:" goto install
if "%1"=="c:" goto install
if "%1"=="d:" goto install
if "%1"=="e:" goto install
if "%1"=="f:" goto install
if "%1"=="g:" goto install
if "%1"=="h:" goto install
if "%1"=="i:" goto install
if "%1"=="j:" goto install
if "%1"=="k:" goto install
if "%1"=="l:" goto install
if "%1"=="m:" goto install
if "%1"=="n:" goto install
if "%1"=="o:" goto install
if "%1"=="p:" goto install
if "%1"=="q:" goto install
if "%1"=="r:" goto install
if "%1"=="s:" goto install
if "%1"=="t:" goto install
if "%1"=="u:" goto install
if "%1"=="v:" goto install
if "%1"=="w:" goto install
if "%1"=="x:" goto install
if "%1"=="y:" goto install
if "%1"=="z:" goto install
goto example
goto end
:install
cls
echo.
echo You have chosen to copy the CADWriter program files to:
echo.
echo %1\CADWRIT
echo.
echo Press CTRL+C to Cancel, or any other key to continue...
pause >nul
echo.
echo.
if exist %1\CADWRIT\NUL goto direxists
md %1\cadwrit
:cont_1
cls
echo.
echo Copying Files.... Please Wait.
echo.
copy *.* %1\cadwrit
cls
echo INSTALLATION COMPLETE
echo ---------------------
echo To use CADWriter:
echo 1) Start AutoCAD R12
echo 2) Use the APPLOAD command in AutoCAD to load the file:
echo %1\CADWRIT\CADWRIT.EXP
echo 3) Use the WRITE Command to start CADWriter.
echo Command: WRITE
echo.
echo The Registration Dialog will then appear. Press the button labeled
echo 'Run in Demo Mode'. Help is provided for all dialog boxes. Also, while
echo in Text Entry mode:
echo.
echo F1 is the Command Menu
echo ALT+F1 is Keystroke Command Help
echo.
echo To learn about all of the features available in CADWriter, you can use
echo the Help Index, or browse through the CADWriter Help topics with the
echo 'Previous' and 'Next' buttons in the Help dialog.
echo.
echo After you try the CADWriter Demo, you can turn it into a fully funtional
echo version by following the instructions of the Registration Dialog.
echo.
%1
cd \cadwrit
goto end
:chgdir
cls
echo.
echo Error: Can not find CADWriter files.
echo.
echo Please change to the floppy drive that contains the
echo CADWriter Demo disk, then restart the command by typing:
echo.
echo CWDEMO {drive}:
echo.
echo where {drive} is the name of the Hard Drive that you wish
echo to place the CADWriter Demo. For instance:
echo.
echo CWDEMO C:
echo.
echo will create and place the CADWriter files in the C:\CADWRIT
echo directory.
echo.
goto end
:cont_2
goto end
:direxists
cls
echo.
echo The directory [ %1\CADWRIT ] already exists.
echo.
echo Press CTRL+C to Cancel, or any other key to continue...
echo.
pause >nul
goto cont_1
:example
cls
echo.
echo Please use the CADWriter CWDEMO installation program as
echo follows:
echo.
echo CWDEMO {drive}:
echo.
echo where {drive} is the name of the Hard Drive that you wish
echo to place the CADWriter Demo. For instance:
echo.
echo CWDEMO C:
echo.
echo will create and place the CADWriter files in the C:\CADWRIT
echo directory.
echo.
echo.
goto end
:end