Just put the BAT files in the FSCommand folder and you can put the EXE
files and all their dependencies on the CD where ever you like - BAT
files can launch files from anywhere ont he CD.
You might want to check out
http://www.northcode.com/misc/proxy.zip for a FREE utility I wrote that will let you run BAT files from Flash
and avoid the ugly DOS box. There's documentation in the ZIP file, and
there was a big discussion about it (and some other utilities I wrote)
in
http://www.flashkit.com/board/showthread.php?threadid=519274 in the
Standalone and Applications forum.
All you need in your BAT file is two lines and you can leave out the
@echo off if you use my PROXY utility. The / at the beginning of the
path to file.exe makes sure the reference is relative to the root of
the CD. It's the closest thing you can get to an absolute reference
(which would be best) without using a third party tool.
@echo off
/folder/file.exe
Tim Goss
Northcode Inc.
http://www.northcode.com On Tue, 27 Sep 2005 00:27:17 +0000 (UTC), "Nichestuff"
[quoted text, click to view] <webforumsuser@macromedia.com> wrote:
>Thanks for the response. I had tried that code, which works on Flash 5, but
>according to Macromedia Tech support, Flash MX & later can not open files from
>a fscommand subfolder. They suggested a batch file to identify the two
>distinct files. I believe this is what the third party plug-ins do. I have
>tried MDM Zinc2, which runs the files in the background, but does not display
>them correctly.
> Now the challenge is to find the write coding for a .bat file...
>
> Start
> @echo off
> folder/file.exe
>
> launches program, but does not display, and opens two dos promt windows...
> Ughhhh
>
> Any suggestions would be a godsend.
>
> Thanks.
>
Thanks for the response. I had tried that code, which works on Flash 5, but
according to Macromedia Tech support, Flash MX & later can not open files from
a fscommand subfolder. They suggested a batch file to identify the two
distinct files. I believe this is what the third party plug-ins do. I have
tried MDM Zinc2, which runs the files in the background, but does not display
them correctly.
Now the challenge is to find the write coding for a .bat file...
Start
@echo off
folder/file.exe
launches program, but does not display, and opens two dos promt windows...
Ughhhh
Any suggestions would be a godsend.
Thanks.