Call this member function to retrieve the folder where the file is contained.

syntaxSyntax:
DlxFile.GetFileFolder()

Return Value

If the operation ends correctly, it returns the folder where the file is contained, otherwise it returns an empty string.

Example

  Copy codeCopy code
var file = new DlxFile("demofile.txt");
DlxApp.Printf(file.GetFilePath());
DlxApp.Printf(file.GetFileFolder());
DlxApp.Printf(file.GetFileName());
DlxApp.Printf(file.GetFileTitle());
DlxApp.Printf(file.GetFileExt());

See also