Try: cmd /c dir
-Dug
[EMAIL PROTECTED] on 04/09/2002 11:44:04 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: RE: Running java exec() on web service
You probaly need to follows windows conventions and use exec("c:\\dir");
And if not that, is dir a file that can run?
Travis
---- Original Message ----
From: "Chohan, DB (Dharmesh)" <[EMAIL PROTECTED]>
Sent: 2002-04-09
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Running java exec() on web service
Hi,
I am trying to run the following command from a java web service file
(jws),
on windows
java.lang.Process proc = runtime.exec("c:/dir");
I keep on getting "CreateProcess: c:/dir error=2"
Does anyone know whether exec() commands are supported in axis or know of a
solution.
Thanks
Dharmesh