AnsweredAssumed Answered

send event to rename an external file

Question asked by jfalberg on Nov 3, 2014


send event to rename an external file


In my Filemaker script, I am exporting a single record and want to rename it to a different extention once it's finished exporting.

I am presently using the following script (substituting fixed values for variables for clarity here):

Send Variable [$CMDLine; Value:"cmd /c move c:\work\user111_92929AM.1 c:\work\user111_92929AM.reg"]
Send Event ["aevt"; "odoc"; $CMDLine]

Management is scrutinizing me for using the "move" command instead of "rename" or similar, so having tried "rename" already and it not working as desired, is there an equivalent that I need here?  I can't seem to find a list of what is acceptable here.