parent

種類プロパティ(R)
書式 folderRef.parent
解説
親オブジェクト(フォルダ等)を返します。
サンプルコード
fRef = Folder.selectDialog("Select");
alert(fRef.parent);
実際のスクリプトをダウンロード