#include #include int main( int argc, char **argv ) { char *file = "\"\""; char buf[ 1024 ]; GetFullPathName( file, 1024, buf, NULL ); printf( "%s -> %s\n", file, buf ); return 1; }