Copy link to clipboard
Copied
This is more of Curiosity, I'm unsure if this can be done. Now I have Script that will save to a Network Drive, like so:
oNewDoc.saveAs({cPath: "/K/Penta/Split/"+filename});
Now I wish to know instead of Saving it to my K Drive, could I save it by specifying the name of network drive like so:
\\sovarchrpri01\d$\Penta\Split\
This is just so I can avoid constantly changing the Drive Letter, since this drive letter changes for the sovarchrpri01 a lot, and just change the folders I would be saving it.
Open a PDF file from that folder and run this script from the JS Console:
this.path
It will print out the correct path to use in your script.
Copy link to clipboard
Copied
Open a PDF file from that folder and run this script from the JS Console:
this.path
It will print out the correct path to use in your script.
Copy link to clipboard
Copied
You have to use a DIPath, but it doesn't have to use a drive letter...