Pasta pai do arquivo 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
Confused Sphere