i am trying to open an excel file for processing using batch. The code i run on batch is correctly opening the file. The problem is when I try to trigger the same batch file remotely using Jenkins(i have a windows slave). It does nothing, just shows a message on the screen that says: "A program running on this computer is trying to display a message."[can't post image because of low reputation]. and nothing more. on clicking view message you get a message that excl cannot open this file because of the following reasons.. which is, i know nothing but a false alarm. How can i modify batch command or Jenkins job or something else on the virtual machine to make the code run.
PS: i am new to batch.
PPS: This is my current command:
"C:\Program Files\Microsoft Office\Office15\EXCEL" /r "C:\file_name.xlsm"
Aucun commentaire:
Enregistrer un commentaire