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.
精彩评论