Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Error while executing macro from batch file in BODS script task

$
0
0

Hi All,

 

We are not able to execute macro from bat file in BODS. we tried below two different method but still not able to execute:

 

 

Following is the command we are executing in script to call macro through batch file.

 

pRINT(exec('cscript', 'E:\\SAP BusinessObjects\\Data Services\\bin\\RunMacro.vbs)', 8));

 

Below is the error message we are getting:

Error: There is no file extension in "E:\SAP".



second method we try to execute

---------------------------------------------------------------

Print(exec('cmd.exe','E:\\SAP BusinessObjects\\Data Services\\bin\\EPAW\\Excel.bat','8'));


error -'E:\SAP' is not recognized as an internal or external command, operable program or batch file



Can you please let us know where we are missing or is there any other way to call it.





Thanks

Ankit


Viewing all articles
Browse latest Browse all 3719

Trending Articles