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.

Creating a batch file from File Maker.

Featured Replies

Hi,

I need to create a batch file (.bat) from file maker database. I have used "Export field contents" script step to create a .bat file. I am exporting from a "Batch code" field from File Maker database. The batch file is also created successfully. However the batch file created from File Maker does not Runs. Am I doing any mistake while exporting. The script that is being used to create batch file has "Run with full access privilege" check box checked.

Any clues

Pushkraj

What error are you getting when you try to run it?

Unless the batch file is really complex you can achieve the same thing by concatenating the commands in one string and just using the Send Event script step.

Make a string like this:

cmd /c command1 && command2 && command 3

the "&&" will make sure command2 will only execute if command1 ran ok. If you don't care about that you can just use "&".

Alternatively you can use VBscript instead of batch code.

Wim is the expert on this, but FYI what happens when you export a field from FileMaker is that carriage returns are converted to vertical tabs (ASCII 11). That could be what's messing it up.

carriage returns are converted to vertical tabs

No, not when you use Export Field Contents. However, the encoding is UTF-16, and perhaps that could be a problem.

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.