Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Convert long file name to short name in W98 (http://forums.winamp.com/showthread.php?t=231802)

looi 24th November 2005 03:13

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 07:43

Forum search gives http://forums.winamp.com/showthread....hort+file+name
Or NSIS Manual 4.9.3.9 GetFullPathName

stb 24th November 2005 12:53

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").


All times are GMT. The time now is 05:17.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.