Madhi
15 years agoContributor
Relative Path for files to attach in the script
I have a situation wherein i have to add some files as attachments. My script has to run in different machines and I have to attach txt files, xlfiles word doc, pdf files etc in different sizes from 10 to 50MB.
How can I specify relative path in the script so I dont have to modify the script according to each machine.
The one option i could think of is store the files in the project folder where i can make it generalised by using path for the file = project.path.
is there anyother way to do it?
How can I specify relative path in the script so I dont have to modify the script according to each machine.
The one option i could think of is store the files in the project folder where i can make it generalised by using path for the file = project.path.
is there anyother way to do it?