home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
senms435.zip
/
smsgui.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
2000-04-05
|
701b
|
28 lines
@echo off
if not exist %WINDIR%\SYSTEM\java.exe goto :mark1
%WINDIR%\SYSTEM\java.exe -classpath .\sendsms.jar com/bai/sendsms/SendSMS
goto :error
:mark1
if not exist %WINDIR%\SYSTEM32\java.exe goto :mark2
%WINDIR%\SYSTEM32\java.exe -classpath .\sendsms.jar com/bai/sendsms/SendSMS
goto :error
:mark2
if not exist %SYSTEMROOT%\SYSTEM32\java.exe goto :mark3
%SYSTEMROOT%\SYSTEM32\java.exe -classpath .\sendsms.jar com/bai/sendsms/SendSMS
goto :error
:mark3
java.exe -classpath .\sendsms.jar com/bai/sendsms/SendSMS
:error
if not errorlevel 1 goto :exit
echo.
echo JRE 1.2 or higher required (http://www.javasoft.com/products/jdk/1.2/jre/index.html)!!!
echo.
pause
:exit