Re: I need a command line in Windows NT





Alan Krueger wrote:
> redgambit wrote:
> > 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
> > ..."
>
> When you say "Windows NT", do you mean NT 4.0 or an NT-derived OS like
> Windows 2000, XP, etc.? I don't believe the Windows NT 4.0 command
> shell understood UNC paths.

Sorry I mean NT 4.0...would it work on XP?

.



Relevant Pages

  • Re: Java with EXE and Virtual Machine
    ... > I would like to know if it is possible to compile a java program, ... not aware of free products to do this on Windows. ... the user to agree to Sun's license terms and conditions first.). ...
    (comp.lang.java.programmer)
  • Re: Java with EXE and Virtual Machine
    ... >> I would like to know if it is possible to compile a java program, ... > not aware of free products to do this on Windows. ... It should be possible to run GCJ on Windows under CygWin. ...
    (comp.lang.java.programmer)
  • Re: Does Suns Windows JVM catch Win32 Structured Exceptions?
    ... Barney wrote: ... > called somewhere in the dll, or a dll underneath it. ... You may be able to get more information by running your Java program under the ... Windows exception, and you may be able to work something out from the stack ...
    (comp.lang.java.programmer)
  • Re: more than 1.6GB ram
    ... Suresh wrote: ... > it currently uses about 1.6GB of ram, ... Java can't do anything about the fact that Windows 2000 on a ...
    (comp.lang.java.programmer)
  • Re: I need a command line in Windows NT
    ... redgambit wrote: ... I have this JAVA program and it needs to call an outside program. ... I don't believe the Windows NT 4.0 command ... shell understood UNC paths. ...
    (comp.lang.java.help)