Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CMD to Batch files & parameters

Featured Replies

  • Newbies

I am trying to have FM use scripting to start a batch file with a paramater. I'm using a calculated field in FM that looks like this:

"cmd /c c:play.bat test"

I call this calculated field using Send Message in a script. However, my batch file doesn't run.

If I use it in the command shell in Windows it works fine.

Any ideas of what I did wrong?

Thanks,

Joe

Does the cmd run? try using /k instead of /c so that you can see what messages you get from the OS it may enable you to work out what is failing.

  • Author
  • Newbies

Thanks for the tip.

I did figure it out. I can run the batch file from the Run command using C:play.bat. But to send it through the CMD, I needed to use C:play.bat. Basically a error in my batch file.

Thanks again.

Joe

This post is very similar to a question I have. What I need is to include part of the contents of the .bat file to be derived from fields in Filemaker: for example, my play.bat file would contain something like:

copy "This value from FM".jpg "this other value from FM"

In essence I would need FM to write the bat file. Can this be done? Any help is appreciated.

Thanks,

Nandito

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.