# Fscommand problems in Flash 8

**URL:** https://forum.kirupa.com/t/fscommand-problems-in-flash-8/185640
**Category:** Uncategorized
**Created:** [April 14, 2006, 9:06pm UTC](https://forum.kirupa.com/t/fscommand-problems-in-flash-8/185640 "2006-04-14T21:06:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wham](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@wham](https://forum.kirupa.com/u/wham)
#### Post date: [April 14, 2006, 9:06pm UTC](https://forum.kirupa.com/t/fscommand-problems-in-flash-8/185640/1 "2006-04-14T21:06:45Z")

</div>

For some reason fscommand isn’t working for me. On one of my buttons, I have the actions set to

```auto
on (release) {
        fscommand ("exec", "test.bat");
}

```

My batch file works, I am using a projector file with .exe extension, but it still doesn’t run the program. It also doesn’t work when I set the actions to:

```auto
on (release) {
        fscommand ("exec", "calc.exe");
}

```

These files are all in the same directory. I am using Flash 8 under Windows XP SP2. Any help will be greatly appreciated. Thanks. :jail:

---

<div class="post-metadata">

### Author: ![mathew\_er](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@mathew\_er](https://forum.kirupa.com/u/mathew_er)
#### Post date: [April 14, 2006, 9:16pm UTC](https://forum.kirupa.com/t/fscommand-problems-in-flash-8/185640/2 "2006-04-14T21:16:58Z")

</div>

from flash help

> Availability: [LIST]  
> [_]None of the commands described in the table are available in web players.  
> [_]All of the commands are available in stand-alone applications, such as projectors.  
> [\*]Only allowscale and exec are available in test-movie players.[/LIST]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 exec command to call an application, the application must reside in a subdirectory named fscommand. The exec command works only from within a Flash projector file.

---

<div class="post-metadata">

### Author: ![wham](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@wham](https://forum.kirupa.com/u/wham)
#### Post date: [April 14, 2006, 9:24pm UTC](https://forum.kirupa.com/t/fscommand-problems-in-flash-8/185640/3 "2006-04-14T21:24:17Z")

</div>

Thanks a million, matthew.er. It works great now. :ko:
