home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- if "==%1" goto PROMPT
- for %%f in (C:,c:,D:,d:,E:,e:,F:,f:,G:,g:,H:,h:,I:,i:,J:,j:) do if %1.==%%f. goto BEGIN
- for %%f in (K:,k:,L:,l:,M:,m:,N:,n:,O:,o:,P:,p:,Q:,q:,R:,r:) do if %1.==%%f. goto BEGIN
- for %%f in (S:,s:,T:,t:,U:,u:,V:,v:,W:,w:,X:,x:,Y:,y:,Z:,z:) do if %1.==%%f. goto BEGIN
- goto INVALID
- :BEGIN
- if exist PAC2000a.EXE goto PROCEED
- if exist a:PAC2000a.EXE goto PROMPT
- if exist b:PAC2000a.EXE goto PROMPT
- echo Insert Pacioli 2000 System Disk #1 into Drive.
- pause
- goto BEGIN
- :PROCEED
- pac2000a /e%1\PACIOLI
- if errorlevel 1 goto CANCEL
- if not exist %1\PACIOLI\PACRUN.EXE goto CANCEL
- :NEXT
- if exist PAC2000b.exe goto CONTINUE
- echo Insert Pacioli 2000 System Disk #2 into Drive.
- pause
- goto NEXT
- :CONTINUE
- pac2000b /e%1\Pacioli
- if errorlevel 1 goto CANCEL
- if not exist %1\PACIOLI\PAC006.EXE goto CANCEL
- pac2000c /e%1\PACIOLI\Comp01
- if errorlevel 1 goto CANCEL
- if not exist %1\PACIOLI\COMP01\PAC016.DAT goto CANCEL
- %1
- cd\pacioli
- if errorlevel 1 goto CANCEL
- PAC001
- cd\
- goto EXIT
- :INVALID
- echo Invalid drive specified. Install cancelled.
- :PROMPT
- echo
- echo At the "A>" or "B>" prompt enter "INSTALL <drive:>", where "<drive:>"
- echo is the letter of the hard disk on which PACIOLI 2000 will be placed.
- echo For example, if the PACIOLI 2000 System Disk is in drive "A:" and the
- echo target hard disk for PACIOLI 2000 is drive "C:" you would type at the
- echo "A>" prompt:
- echo
- echo INSTALL C:
- echo
- goto EXIT
- :CANCEL
- echo
- echo
- echo Install cancelled.
- echo
- :EXIT