Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6010 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

Posted

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.

Posted

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.

This topic is 6010 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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