Re: I need a command line in Windows NT
- From: "redgambit" <mbrandt@xxxxxxxxxxxxx>
- Date: 29 Jun 2005 07:29:32 -0700
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?
.
- Follow-Ups:
- Re: I need a command line in Windows NT
- From: redgambit
- Re: I need a command line in Windows NT
- References:
- I need a command line in Windows NT
- From: redgambit
- Re: I need a command line in Windows NT
- From: Alan Krueger
- I need a command line in Windows NT
- Prev by Date: drawing arrows...
- Next by Date: Re: I need a command line in Windows NT
- Previous by thread: Re: I need a command line in Windows NT
- Next by thread: Re: I need a command line in Windows NT
- Index(es):
Relevant Pages
|