looi
24th November 2005 04:13 UTC
Convert long file name to short name in W98
Hello,
Currently I having a problem write my log file in Win98.
e.g path: C:\Program files\Mylog\log.txt
when my program execute the above path, it's will fail.
It's possible to convert the log file name in to short filename.
Because the $INSTDIR give me the log file name. Hence when write to log file, it's failed.
Please advice,
Thx,
LOOI
Takhir
24th November 2005 08:43 UTC
Forum search gives http://forums.winamp.com/showthread....hort+file+name
Or NSIS Manual 4.9.3.9 GetFullPathName
stb
24th November 2005 13:53 UTC
You should try to make your program fit for long file names. In some cases short file names do not exist (I didn't believe this myself until I had this issue with Win2000, NTFS and "Documents and Settings").