Is there a way I can get the DOS short name of a file if I supply it the long file name? For example: I want to supply "longfilename.txt" and get back "longfi~1.txt"
I understand I will need to give it the long file path so returning the short file path would be just fine too.