Returns the pathname of the directory parent of the directory passed as argument. Null if you do not have it.
 

1 file.getParentFile

<file.getParentFile>
    <file /> !
</file.getParentFile>
Example
Copy
<xsql-script name='file_getParentFile_sample1'>
    <body>
        <set name='m_path'>
            <string>c:<file.separator />jas<file.separator />webstudio.gc</string>
        </set>
        <println trim='true'>
            Path of the parent<string.space />:<string.space />
            <file.getParentFile>
                <file name='#m_path' type='absolute' />
            </file.getParentFile>
        </println>
    </body>
</xsql-script>