Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Jun : can not run java cmd
| Subject: | can not run java cmd |
| Posted by: | "Roland" (roland2000_nospam@hotmail.com) |
| Date: | Wed, 6 Jun 2007 20:21:23 |
Hi:
I have an application need call cmd file containing java command, tried
using shellexecute and createprocess, both not working.
The processes like this:
delphi application call somecmd.cmd
in somecmd.cmd file, it contains one line: java somejavaclass
then somejavaclass process in DOS environment.
From our customer's document, the somecmd.cmd file can not be use open, it
need run in DOS environment.
If I run somecmd.cmd file in DOS environment, it works, but never work by
calling from my Delphi app.
Could some one give me hand? Thanks.
Roland