I have a C console app where I need to output the absolute path to a file given a (possibly) relative path. What is the best way to do this in C in a Windows environment?
GetFullPathName merges the name of the current drive and directory
with a specified file name to determine the full path and file name of
a specified file.