# Foo\_run (Run services) how to run a .bat file?

**URL:** <https://community.mp3tag.de/t/foo-run-run-services-how-to-run-a-bat-file/62776>\
**Category:** Off-Topic\
**Created:** [November 16, 2023, 10:29pm UTC](https://community.mp3tag.de/t/foo-run-run-services-how-to-run-a-bat-file/62776 "2023-11-16T22:29:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stem75](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stem75/32/5007_2.png) [@Stem75](https://community.mp3tag.de/u/Stem75)\
**Post date:** [November 16, 2023, 10:29pm UTC](https://community.mp3tag.de/t/foo-run-run-services-how-to-run-a-bat-file/62776/1 "2023-11-16T22:29:10Z")

</div>

In foobar2000 when i use this it runs ok.

> "U:......Port. programs..Music\ocenaudio\_win64\ocenaudio.exe"

But when i try this it doesn't.

> "C:\Program Files (x86)\foobar2000\test.bat"

Also i want to run this .bat file with relative path for portable foobar2000 instalation.

Something like

> ".\foobar2000\test.bat"

is this possible?

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [November 16, 2023, 10:46pm UTC](https://community.mp3tag.de/t/foo-run-run-services-how-to-run-a-bat-file/62776/2 "2023-11-16T22:46:33Z")

</div>

You will need to ask that with the Foobar team. This has nothing to do with mp3tag.

---

<div class="post-metadata">

**Author:** ![Stem75](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stem75/32/5007_2.png) [@Stem75](https://community.mp3tag.de/u/Stem75)\
**Post date:** [November 16, 2023, 10:51pm UTC](https://community.mp3tag.de/t/foo-run-run-services-how-to-run-a-bat-file/62776/3 "2023-11-16T22:51:20Z")

</div>

Ok. I didn't know it. Thank you.

---

<div class="post-metadata">

**Author:** ![Stem75](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stem75/32/5007_2.png) [@Stem75](https://community.mp3tag.de/u/Stem75)\
**Post date:** [November 16, 2023, 11:44pm UTC](https://community.mp3tag.de/t/foo-run-run-services-how-to-run-a-bat-file/62776/4 "2023-11-16T23:44:58Z")

</div>

For anyone that might lose his way!!!

For relative path and portable foobar2000 instalation i used this and it works fine.

> "test.bat"

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [November 17, 2023, 5:21pm UTC](https://community.mp3tag.de/t/foo-run-run-services-how-to-run-a-bat-file/62776/5 "2023-11-17T17:21:08Z")

</div>

I think parenthesis must be escaped in foobar, so this should work:

```auto
"C:\Program Files '(x86)'\foobar2000\test.bat"

```

---

<div class="post-metadata">

**Author:** ![Stem75](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stem75/32/5007_2.png) [@Stem75](https://community.mp3tag.de/u/Stem75)\
**Post date:** [November 18, 2023, 8:51am UTC](https://community.mp3tag.de/t/foo-run-run-services-how-to-run-a-bat-file/62776/6 "2023-11-18T08:51:02Z")

</div>

Yes. That's it. So simple but it is working now. Thank you.
