Filename_dir - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

NOTOC

Notation

Description

Gets the directory part of the file path, without the file or it's extension, and returns the result.

Parameters

  • fname, file path

Return Values

Returns the file path of the file without the filename or extension.

Example Call

filename_dir("test\example.txt");

Demonstrates getting the directory of a file path, in this case it would return "test\"