Answers for "parent folder of file extendscript"

0

parent folder of file extendscript

// Get parent folder of file in extendscript
var pathToFile = "/path/to/file.zip"
var fileObj = new File(pathToFile);
var parent = fileObj.parent.fsName; // >> /path/to
Posted by: Guest on July-06-2020

Code answers related to "parent folder of file extendscript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language