MID Server Script Include - Local folder path

karthikdurga
Mega Expert

Hi

Let's say I have a mid server in C:\MIDServer\Server1\agent . I want to access a file that is placed in the agent folder (or any sub-folder) in my MID Server script include. Could someone help me on how to specify the path to that file ?

E.g. if the file name is abc.xml that is placed in agent folder, can I pass the path as "C:\MIDServer\Server1\agent\abc.xml" ?

1 ACCEPTED SOLUTION

lSurya 24
Giga Guru

Hello Durga,



Yes, you can pass the folder directory as you mentioned in your example.


View solution in original post

9 REPLIES 9

lSurya 24
Giga Guru

Hello Durga,



Yes, you can pass the folder directory as you mentioned in your example.


Thanks Surya. I just wanted to know if agent folder is identified as some sort of root folder in script include, and whether I have to pass only the path inside the agent folder, something like \\bin\test\keyfile\xyz.xml . I will try and let you know if this works.


Hello Durga,



If my answer assisted, Kindly mark my answer as correct.


Hi Surya



I am just waiting to validate whether it works, before flagging your response as correct answer. I have marked it helpful for now.



Thanks,


Karthik