Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-10-2002, 05:59 PM   #1
mixi
Registered User
 
mixi's Avatar
 
Join Date: May 2002
Location: Belgrade
Posts: 6
Default fscommand("exec","something")

Can I call the .exe file from FlashMX, and how? I can't do it like in version 5.0, but they put the exec command, why if that can't work.
mixi is offline   Reply With Quote
Old 05-11-2002, 04:34 AM   #2
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

Please read the recent posts on this topic. I have answerred this same question four times in two days. See various thread son this board and this thread: http://www.actionscripts.org/forums/...threadid=11577
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 05-11-2002, 11:54 AM   #3
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,533
Default

You can check this:

http://www.macromedia.com/support/fl...projectors.htm

But basicly, you can simply use fscommand("exec", "AcroRd32.exe"); , as long as the application to be opened is in a sub-folder (named fscommand) in the same directory as the projector calling it.

If you want to open one particular .txt file with notepad, for example, the only way I have found, is to use a batch file (.bat), also in the fscommand sub-folder, to call it.

fscommand("exec", "note.bat");

---------------------------------------
note.bat:

@ echo off
start c:\windows\desktop\testfscommand\fscommand\notepad .exe note.txt
exit
----------------------------------------

In the above, the projector is in the c:\windows\desktop\testfscommand and of course, notepad.exe and note.txt must be in the fscommand sub-folder, along with the batch file.

Regards,


Last edited by oldnewbie; 05-11-2002 at 12:03 PM.
oldnewbie is offline   Reply With Quote
Old 05-11-2002, 03:12 PM   #4
mixi
Registered User
 
mixi's Avatar
 
Join Date: May 2002
Location: Belgrade
Posts: 6
Default Super

This is super, Ok thanks.
mixi is offline   Reply With Quote
Old 02-17-2005, 12:20 AM   #5
damo5
Registered User
 
Join Date: Feb 2005
Posts: 3
Default Exec on CD

I'm building a 'demo.exe' to be published on a CD (for PC users). At the end of the Demo the user needs to click on an 'Install Now' button and install the accompanying software - Setup.exe.

Here's the rub:the client does not want the Setup.exe in a sub-folder (/fscommand). they want it on the root of the CD. I need to somehow direct the command to the root. I've been thinking that the fscommand could launch some kind of .ini file or .bat file which could in turn target the Setup.exe...

I don't know enough about the capabliities of ini or bat files.

Any ideas anyone?
damo5 is offline   Reply With Quote
Old 02-17-2005, 12:35 AM   #6
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,533
Default

You can probably use a batch file (in the fscommand subfolder...) but pointing to an .exe on the root directory.
oldnewbie is offline   Reply With Quote
Old 02-17-2005, 01:43 PM   #7
ichi
Registered User
 
Join Date: Feb 2005
Posts: 1
Default

I have developed a cd rom which has a button that links to an external database .exe file.
The client wants it to work an OSX, Mac system 9 and Windows XP.
Everything works except system 9.
the script i am using is:

On(release){
FSCommand("exe", "search classic.exe");

It works fine on the OSX and XP systems but not on system 9.

Any hep would be greatly appreciated.
Cheers
ichi is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:56 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.