home *** CD-ROM | disk | FTP | other *** search
-
- echo executeUCC.bat
- @echo off
- @rem executeUCC.bat
-
- rem #1
- if "%1"=="" (
- echo You must enter a package name
- echo make [package_name]
- echo or if using context, the first line
- echo of your program must be //%PARAMETERS = [package_name] [path_to_UT2004]
- echo example: Make HelloWorld c:\ut2004
- goto ERROR
- )
-
- rem #2
- if "%2"=="" (
- echo You must enter the name of the class
- echo or if using ConTEXT, the first line
- echo of your program must be //%PARAMETERS = [package_name] [path_to_UT2004]
- echo example: Make HelloWorld c:\UT2004
- goto ERROR
- )
-
- rem #3
- @rem This program executes compiled package
- ucc %1.%2
- goto EOF
-
- :ERROR
- echo no action taken
-
- :EOF