home *** CD-ROM | disk | FTP | other *** search
- @echo off
- echo Attempting to load dBASE with YAME sample configuration....
- rem Check for \DBASE\DBASE on drives C through F
- rem Don't overwrite environment variable DXYZ if it exists
- if not %dxyz%$==$ goto trypath
- rem By using %%d%dxyz%, search will fail after first is found
- for %%d in ( C D E F ) do if exist %%d%dxyz%:\dbase\dbase.exe set dxyz=%%d
- if %dxyz%$==$ goto trypath
- echo Loading dBASE from drive %dxyz%
- %dxyz%:\dbase\dbase /c ysamples.cfg ysamples
- set dxyz=
- goto end
- :trypath
- echo Loading dBASE on your PATH
- dbase /c ysamples.cfg ysamples
- :end
-