A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
GetFileName
Pushkins
156
Reputation points
Hi
I have a problem with GetFileName when getting directory names. If the directory name contains a dot as in Mydir.ectory all I get is Mydir.
If there is no dot as in Mydirectory then it works and I get Mydirectory.
I am guessing it has something to do with extensions. How can I avoid this and get the full directory name even if it contains a dot.
Thank you
Developer technologies | C++
Developer technologies | C++
Sign in to answer