parent folder of file extendscript

Solutions on MaxInterview for parent folder of file extendscript by the best coders in the world

showing results for - "parent folder of file extendscript"
Diana
01 Jan 2018
1// Get parent folder of file in extendscript
2var pathToFile = "/path/to/file.zip"
3var fileObj = new File(pathToFile);
4var parent = fileObj.parent.fsName; // >> /path/to
similar questions
queries leading to this page
parent folder of file extendscript