June 10, 200817 yr 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
June 10, 200817 yr 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.
June 10, 200817 yr 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.
June 10, 200817 yr 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