# Can i make a flash movie open an .exe file?

**URL:** https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640
**Category:** Uncategorized
**Created:** [March 27, 2003, 12:59am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640 "2003-03-27T00:59:34Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![alpha\_blade](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@alpha\_blade](https://forum.kirupa.com/u/alpha_blade)
#### Post date: [March 27, 2003, 12:59am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/1 "2003-03-27T00:59:34Z")

</div>

See topic. I am bored so i am making a “flash wallpaper,” just to see if it could work out well. I want to be able to click on a button and have it open up a program, like AIM. i tried getURL, but then it brings up the “download” box, where it asks you to open, save, etc. is there a way that i can make it open a file directly?

i tried using fscommand exec, C:/folder/file.exe, but nothing happened.

please help me out.

---

<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: [March 27, 2003, 1:02am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/2 "2003-03-27T01:02:41Z")

</div>

I don’t think so…

If I’m correct, that would be a security violation from your OS…

I think…

Rev ![](http://www.aulman.com/rev.gif)

---

<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: [March 27, 2003, 1:14am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/3 "2003-03-27T01:14:45Z")

</div>

i was thinking that too, but i thought there might be SOME way to do it, because i’m doing it all locally. no internet involved, just the web browser.

---

<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: [March 27, 2003, 1:16am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/4 "2003-03-27T01:16:36Z")

</div>

yes, you can.

fscommand(“exec”, “file.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: [March 27, 2003, 1:28am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/5 "2003-03-27T01:28:20Z")

</div>

a couple things, first, does that work in MX? someone told that would only work in Flash5. and another, can i ope exes from a different folder, like fscommand(“exec”, “C:\folder\file.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: [March 27, 2003, 6:17am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/6 "2003-03-27T06:17:01Z")

</div>

I hope that doesn’t work. That would mean Flash poses a serious security threat to your computer.

---

<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: [March 27, 2003, 6:23am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/7 "2003-03-27T06:23:38Z")

</div>

why would you want to load an .exe from a local machine?

---

<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: [March 27, 2003, 6:39am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/8 "2003-03-27T06:39:55Z")

</div>

In Windows, it should prompt for open/save, etc.

I’m sure if it could, it would have been exploited by now.

Rev ![](http://www.aulman.com/rev.gif)

---

<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: [March 27, 2003, 6:49am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/9 "2003-03-27T06:49:14Z")

</div>

you’re right rev, my bad. 😊

you can definitely call an .exe file from flash, just like a pdf or any  
other file. I would just use \_blank on it to make it call a new  
window first.

i don’t see why this would be any different locally.

---

<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: [March 27, 2003, 9:28am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/10 "2003-03-27T09:28:02Z")

</div>

You can try the run protocol handler. Download it here:  
[http://www.blackbit.net/freeware/](http://www.blackbit.net/freeware/)

I used it when I wanted to run exe’s from a html page’s links

i.e.

```php
<a href="run:notepad.exe">open notepad</a>

```

I think it should work with Flash too…

---

<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: [March 27, 2003, 1:00pm UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/11 "2003-03-27T13:00:40Z")

</div>

**forgot to mention:**

it works, but only in a windows projector… you can´t do that on a swf for security reasons 😉

---

<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: [March 27, 2003, 3:29pm UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/12 "2003-03-27T15:29:55Z")

</div>

see that

on (release)  
{  
getURL(“FSCommand:exec”, “momaiyaz.exe AutoRun\_Demos\SQL\_Server\_in\_the\_Enterprise\home.exe”);  
}

i see that in a flash intro for microsoft it is with out fscommand folder .

but they put a file (( momaiyaz .exe )) in cd and if i remote this file the links dosn’t work ;(

but i can not know how can i build a file like (( momaiyaz .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: [March 27, 2003, 10:57pm UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/13 "2003-03-27T22:57:43Z")

</div>

thanks, thybalt. that did it for me. now i can get back to making my flash wallpaper.

---

<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: [March 30, 2003, 1:12am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/14 "2003-03-30T01:12:19Z")

</div>

with the run protocol handler, does anyone know how to edit the reg files for WinXP Home Edition?

---

<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: [March 30, 2003, 4:18am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/15 "2003-03-30T04:18:20Z")

</div>

is this to be used with windowblinds?

---

<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: [March 30, 2003, 5:46am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/16 "2003-03-30T05:46:23Z")

</div>

nope, no windows blinds

---

<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: [March 30, 2003, 9:22am UTC](https://forum.kirupa.com/t/can-i-make-a-flash-movie-open-an-exe-file/16640/17 "2003-03-30T09:22:36Z")

</div>

then how is it going to be used on windows? Active desktop?
