Hello @Subashri Vasudevan and welcome to Microsoft Q&A.
As I understand it, you are looking for specific examples or directions on how to provide or locate libraries and other preperatory files for use in ADF Custom activity / Azure Batch.
The documentation has an example here.
I am calling out points labled in image below.
- The "Resource Linked Service" allows you to specify a storage account. The account can be used to not only store output of the activity, but also to supply custom libraries and programs.
- The "Folder Path" specifies a location of "Resoruce Linked Service" to upload to the batch and make available code or libraries or other assets for use. The "Resource Linked Service" points to the account in general, rather than a specific container/folder. The "Folder path" starts with selecting a container, then folder underneath.
myContainer/myFolder/mySubfolder
Use the browse option to ensure you got it right. The "browse local" lets you upload a folder from your local computer. - When the "Resouce Linked Service" and "Folder Path" are in use, the contents are made available for use in the command, as if it was your working directory.
So, in general, put the library in the same, or child location as your program. Placing them in different containers would not help.
Does this help?