# Buttons That Link To User's Programs

**URL:** https://forum.kirupa.com/t/buttons-that-link-to-users-programs/2983
**Category:** Uncategorized
**Created:** [February 14, 2002, 7:35pm UTC](https://forum.kirupa.com/t/buttons-that-link-to-users-programs/2983 "2002-02-14T19:35:54Z")
**Posts on this page:** 7
**Page:** 1

<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: [February 14, 2002, 7:35pm UTC](https://forum.kirupa.com/t/buttons-that-link-to-users-programs/2983/1 "2002-02-14T19:35:54Z")

</div>

I was wondering if there was a way to Link a button to open a program on my computer. \rIs this possible? Do i need to use Javascript?\rI’m making an interactive desktop… basically, and was trying to figure out a way to create links (or shortcuts) to a program using Flash 5, and having it open the program, or file.

---

<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: [February 14, 2002, 7:47pm UTC](https://forum.kirupa.com/t/buttons-that-link-to-users-programs/2983/2 "2002-02-14T19:47:43Z")

</div>

on YOUR hd no problem using fscommand (exec…) because you’ll know the full path to the .exe you’ll want to launch; on s’body elses, as the program might be installed s’where else, you can’t be sure it’ll work. check the flash help on that, if you can’t find out, post back.

---

<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: [February 17, 2002, 11:29pm UTC](https://forum.kirupa.com/t/buttons-that-link-to-users-programs/2983/3 "2002-02-17T23:29:33Z")

</div>

im not totally new with everything about flash…\rbut i was playin around with the fscommand script you told me about, and i still couldn’t get it to work…\ram i doin something wrong?\rdo i use both the command and argument?

---

<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: [February 18, 2002, 6:11pm UTC](https://forum.kirupa.com/t/buttons-that-link-to-users-programs/2983/4 "2002-02-18T18:11:56Z")

</div>

example for notepad:\r\rfscommand (“exec”, “C:/Windows/Notepad.exe”);\r\rreplace second part by path to your prog

---

<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: [February 18, 2002, 8:33pm UTC](https://forum.kirupa.com/t/buttons-that-link-to-users-programs/2983/5 "2002-02-18T20:33:17Z")

</div>

Eyezberg!,\rI am really digging that Fly in your sig.\r

---

<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: [February 18, 2002, 11:26pm UTC](https://forum.kirupa.com/t/buttons-that-link-to-users-programs/2983/6 "2002-02-18T23:26:04Z")

</div>

my actions look like this for that particular button:\r\ron (release) {\r fscommand (“exec”, “C:/Windows/Notepad.exe”);\r}\r\r\rdoes this work on your pc? it certainatly isn’t workin for me. I’m confused. I put it in like you said… do any of these lines need to be an expression? It seems like it’s simple, yet it doesn’t work for me…

---

<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: [February 21, 2002, 8:22pm UTC](https://forum.kirupa.com/t/buttons-that-link-to-users-programs/2983/7 "2002-02-21T20:22:57Z")

</div>

on (release) {\r fscommand (“exec”, “C:\WINNT\NOTEPAD.exe”);\r}\r\r tested and working…browse to your prog you want to launch in explorer, copy’n’paste the path into the ‘argument’ line in the fscommand action panel (beginner mode). Notice the escaped slashes…
