Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Run bat file from FDM custom webscript

SRINGELMONov 20 2013 — edited Nov 20 2013

Hello,

I''m an essbase/planning guy being introduced to the world of FDM and I have a basic custom webscript that runs a bat file that needs to copy some files, no maxl commands, just a plain MSDOS COPY. The script is as follows:

Dim strCMD

strCMD = "\\<servername>\FDMAPP\COPYFILES.bat"

API.DataWindow.Utilities.mShellAndWait strCMD, 0

When I run the script FDM displays that "The script ran successfully" with no error in log but the files are not copied.

I know the file is found as I've added some script that prints the bat script.

Will the mShellAndWait command only work to execute maxl commands or all sorts of external processes?

Thanks for your help

Santiago Ruiz Ingelmo

This post has been answered by SRINGELMO on Nov 20 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2013
Added on Nov 20 2013
1 comment
415 views