August 25, 200520 yr 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
August 25, 200520 yr 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.
August 26, 200520 yr 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
August 29, 200520 yr 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