I need a command line in Windows NT
- From: "redgambit" <mbrandt@xxxxxxxxxxxxx>
- Date: 28 Jun 2005 15:04:41 -0700
Hello,
I could really use your help. I have this JAVA program and it needs to
call an outside program. I used the following code to do so.
boolean OldC = NUFile.fileExists(Acc + "\\Client.c");
if (OldC == true) {
//String cmdLine6 = "\\\\a1\\scripts\\clientconvert.exe";
doesn't work
String cmdLine6 = "cmd \\\\a1\\scripts\\clientconvert.exe";
try {
Process process = Runtime.getRuntime().exec(cmdLine6);
}
catch (IOException ioe) {
System.out.println(ioe);
This code works fine in 98 with with cmdLine6 set as "start command /c
...."
I know java isn't a scripting language but I really need this program
and it to run in a command line. I actually can't even get a command
prompt, so if I could just get a command line that would help. I've
been all over the net and can't find anything that works.
Thank you.
.
- Follow-Ups:
- Re: I need a command line in Windows NT
- From: Alan Krueger
- Re: I need a command line in Windows NT
- Prev by Date: Re: public static final - compilation error
- Next by Date: Best way to develop in parallel
- Previous by thread: public static final - compilation error
- Next by thread: Re: I need a command line in Windows NT
- Index(es):
Relevant Pages
|