FreeBASIC  0.91.0
sys_getshortpath.c
Go to the documentation of this file.
1 #include "../fb.h"
2 #include <windows.h>
3 
4 char *fb_hGetShortPath( char *src, char *dst, ssize_t maxlen )
5 {
6  if( strchr( src, 32 ) == NULL ) {
7  strcpy( dst, src );
8  } else {
9  GetShortPathName( src, dst, maxlen );
10  }
11 
12  return dst;
13 }