Hi:
Using Adobe Air 2.0 beta 2 I want to open a cmd file when the user clicks on a button, but I get "Error #3001: File or directory access denied"
.
the code:
<mx:Button width="200" height="50" click="OpenFileHandler()"/>
<mx:Script>
private function OpenFileHandler():void
{
var file:File = new File("C:\\OpenIE.cmd");
file.openWithDefaultApplication();
}
The directory it's accessible and the file exist. Does adobe Air 2.0 beta 2 have a restriction when opening a cmd file?