roronoah
asked on
how to open exe files that locate in several subfolders with flash projector (mx) ??
Please apoligize my poor english ^^"
I'm using flash mx with fscommand like this...
on (release) {
fscommand ("exec", "filename.exe");
}
and I put my exe file in the folder name "fscommand", it works with the file in the first level of that folder. But the problem is I have to separate the exe files in subfolders beneath the "fscommand" folder. Because each of exe files has its own group of coding links (I cannot change them as they were created by other people, and I cannot put them together too).
So I build subfolders A,B,C and D in the "fscommand" folder. Each of them contains exe file, now it's like this C://mainfolder/fscommand/A /aa.exe
I tried to change the code into this...
on (release) {
fscommand ("exec", "A/aa.exe");
}
But it doesn't work.. T_T
Repeat again: I have to link all exe files in separate folder with one flash projector.. How can I do that? Please tell me exact code and what I have to do.. I am not good in coding at all.
thank you in advance :>
ps.. can I use flash 5 to do it? but I want it to be the last option as I have created all the story in flash mx and I don't want to redo it again in flash 5.
I'm using flash mx with fscommand like this...
on (release) {
fscommand ("exec", "filename.exe");
}
and I put my exe file in the folder name "fscommand", it works with the file in the first level of that folder. But the problem is I have to separate the exe files in subfolders beneath the "fscommand" folder. Because each of exe files has its own group of coding links (I cannot change them as they were created by other people, and I cannot put them together too).
So I build subfolders A,B,C and D in the "fscommand" folder. Each of them contains exe file, now it's like this C://mainfolder/fscommand/A
I tried to change the code into this...
on (release) {
fscommand ("exec", "A/aa.exe");
}
But it doesn't work.. T_T
Repeat again: I have to link all exe files in separate folder with one flash projector.. How can I do that? Please tell me exact code and what I have to do.. I am not good in coding at all.
thank you in advance :>
ps.. can I use flash 5 to do it? but I want it to be the last option as I have created all the story in flash mx and I don't want to redo it again in flash 5.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>how can I create .bat file?
create a text file with notepad, rename it from file.txt to file.bat
>and what is the start path?
"start" is a command, it has to be this way
with path I men the path for your file, relative
ie:
@echo off
start folder1/myexe.exe
@exit
create a text file with notepad, rename it from file.txt to file.bat
>and what is the start path?
"start" is a command, it has to be this way
with path I men the path for your file, relative
ie:
@echo off
start folder1/myexe.exe
@exit
ASKER
yes yes yes!!.. I got it.. :D
Can I ask you one more question? If I have to copy all my files to CD, what is the path I have to write in my .bat file?
cheers,
Can I ask you one more question? If I have to copy all my files to CD, what is the path I have to write in my .bat file?
cheers,
Well, I really don't know. I think this is a https://www.experts-exchange.com/Operating_Systems/ question.. :)
ASKER
This is so strange... I'm working with 2 computers and my computer "A" can view the exe file by calling the bat file with the relative path like this
@echo off
start folder1/myexe.exe
@exit
alright.... but my computer "B" requires the full path like this
@echo off
start \\user\desktop\test\fscomm and\folder name\filen ame.exe
@exit
when I write them in CD, and open them in another computer, will it be a problem if I user the relative path only "folder1/myexe.exe"?
@echo off
start folder1/myexe.exe
@exit
alright.... but my computer "B" requires the full path like this
@echo off
start \\user\desktop\test\fscomm
@exit
when I write them in CD, and open them in another computer, will it be a problem if I user the relative path only "folder1/myexe.exe"?
the relative should be the only one always working, because it's indipendent from the user name and machine file system.
to make major work with file, maybe you should use an application like this http://www.multidmedia.com/software/flashstudio/ or MM Director itself..
to make major work with file, maybe you should use an application like this http://www.multidmedia.com/software/flashstudio/ or MM Director itself..
ASKER
ok.. it's quite late now.. I will continue the rest tomorrow.. Thank you very much for your help.. You're really make my day..
:D
:D
ASKER