开发者

In windows, Runtime.exec does not find the file to execute.Is there a setting to disable exec ing of files without the ".exe" specified?

In windows Runtime.exec does not find the file to execute. It says could not find the file specified.

I am doing Runtime.exec("myprogram"). Its localted under PATH variable.

Is there a setting in Windows which disables exec ing 开发者_StackOverflow社区of files without the ".exe" specified?

If I specify Runtime.exec("myprogram.exe"), is there any chance of this program running fine?

I know that this is a very strange question, but I am hoping somebody who understands the security features in Windows can throw some light.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜