# Starting .exe program from flash?

**URL:** <https://forum.kirupa.com/t/starting-exe-program-from-flash/19661>\
**Category:** Uncategorized\
**Created:** [April 30, 2003, 9:13am UTC](https://forum.kirupa.com/t/starting-exe-program-from-flash/19661 "2003-04-30T09:13:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![klemenzi](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@klemenzi](https://forum.kirupa.com/u/klemenzi)\
**Post date:** [April 30, 2003, 9:13am UTC](https://forum.kirupa.com/t/starting-exe-program-from-flash/19661/1 "2003-04-30T09:13:42Z")

</div>

Hello !

I would like to know if I can start a .exe program from Flash.

Description: I have a CD with flash presentation (autorun) and additional .exe program. I would like to make a button in flash presentation that would start my .exe program whish is located in the same CD.

Any ideas would be appreciated

tx for your help

Klemen:)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 9:19am UTC](https://forum.kirupa.com/t/starting-exe-program-from-flash/19661/2 "2003-04-30T09:19:36Z")

</div>

yes you can.

[http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/actionscript\_dictionary372.html](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary372.html)

> The exec command can contain only the characters A-Z, a-z, 0-9, period ()., and underscore (\_). The exec command runs in the subdirectory fscommand only. In other words, if you use the fscommand exec command to call an application, the application must reside in a subdirectory named fscommand.

I think the command would look something like.

on(release){  
fscommand(“exec”,“myAplication.exe”);  
}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 9:21am UTC](https://forum.kirupa.com/t/starting-exe-program-from-flash/19661/3 "2003-04-30T09:21:57Z")

</div>

David tx for your speedy answer !

Will check your link and your command.

Tx againg  
Klemen

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 9:23am UTC](https://forum.kirupa.com/t/starting-exe-program-from-flash/19661/4 "2003-04-30T09:23:16Z")

</div>

it could also be

on(release){  
fscommand(“exec”,“fscommand/myAplication.exe”);  
}

but I’m not sure

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 12:13pm UTC](https://forum.kirupa.com/t/starting-exe-program-from-flash/19661/5 "2003-04-30T12:13:44Z")

</div>

No need to put fscommand, it’s implied. ANd if you want to start an application that’s not inside that folder, just create a batch file (.bat) in the folder fscommand.

pom 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 12:15pm UTC](https://forum.kirupa.com/t/starting-exe-program-from-flash/19661/6 "2003-04-30T12:15:39Z")

</div>

OK, silly me: what you quoted is true for Flash MX. With Flash 5, I think that your programme doesn’t necessarily have to be in the fscommand folder. It was considered a problem for security, so they “fixed” it in Flash MX.

pom :phil:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 7:02pm UTC](https://forum.kirupa.com/t/starting-exe-program-from-flash/19661/7 "2003-08-26T19:02:50Z")

</div>

it dont work for me ? on Flash mx?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 7:06pm UTC](https://forum.kirupa.com/t/starting-exe-program-from-flash/19661/8 "2003-08-26T19:06:24Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=29555&highlight=fscommand](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=29555&highlight=fscommand)
