Hello everybody,
I know similar questions have been many times asked on this forum, and I've read them and tried the diffrent solutions proposed, without attaining my goal.
My goal is to launch a software some_software.exe with an executable projector created with Flash in ActionScript 3.
The software some_software.exe must absolutely be in a sub-subfolder compared to the position of the projector launcher.
I've tried many things I read on this forum and others, like :
fscommand("exec","Products/some_software/some_software.exe")
or
fscommand("exec","./Products/some_software/some_software.exe")
or
fscommand("exec",".//Products/some_software/some_software.exe")
I know very well that it is said in Flash MX CS3's help file that the executable to launch some_software.exe must be in a fscommand folder.
I have tried :
fscommand("exec","Products/some_software/fscommand/some_software.exe")
with no more success.
I have also tried to launch some_software.exe in a sub-sub-folder from a batch file .bat.
During my direct tests while launching the batch file, this one containing :
@ echo off
start Products/some_software/some_software/some_software.exe
exit
The batch file worked fine, even with paths in the subfolders very deep.
But when I launch the .bat file indirectly, with the Flash projector, in which I wrote :
fscommand("exec","batch_file.bat")
the batch file seems to open very briefly the black MS-DOS subscreen, this subscreen disappearing immediately, and some_software.exe was never launched !
Did anyone have the same problem ? Were you able to make it work ?
If it's the case, many thanks by advance if you can show me a solution to my problems, or, even better, if you can propose the sources of your solution compressed in a .zip file !
Many thanks for your help,
Roland
North America
Europe, Middle East and Africa
Asia Pacific