cancel
Showing results for 
Search instead for 
Did you mean: 

DOS command from a WebDynpro

Former Member
0 Kudos

hi,

How can i call a DOS command from a WebDynpro Application. I tried this piece of code but it does not work.

Runtime.getRuntime().exec("cmd/c help");

Can somebody guide me with the same.

Thanks,

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello Rakesh,

You can not execute OS commends in Java WD; since it don't support any client script.

Regards

Vinod V

Former Member
0 Kudos

Can i call a file present on the client system through the code.

Former Member
0 Kudos

Hi,

From Webdynpro its not possible until and unless its uploaded to the server.

Due to the following reasons

WD code runs in the server.

No client side scripting possible in WD.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi,

where you want to run this?

If this is at client side, its not atall possible.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Rakesh,

Try the code given at the following [link|http://www.daniweb.com/forums/thread37743.html].

Regards,

Alka.