D Documentation  
getDirName
char[] getDirName(char[] name)

Get the path of the file name.

Example:
writefln(getDirName(args[0]));

Output could be:
c:\d\projects\test

See also:
getBaseName, getDrive, getExt, isabs
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.