with:
GetLongPathName(...)
see: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getlongpathname.asp
----- Original Message ----- From: "Sheldon Gill" <[EMAIL PROTECTED]>
To: "Marc Br�nink" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Wednesday, May 11, 2005 9:37 AM
Subject: Re: NSTemporaryDirectory() && Windows
Marc Br�nink wrote:
Hi folks,
on my Windows machine NSTemporaryDirectory() returns a string like:
~C/DOKUME~1/ADMINI~1/....
So this is the old DOS representation of names which are longer than 8 characters.
That is correct.
Type 'set' at the command prompt on your windows machines and you'll see that TEMP is uses 8.3 paths
How to convert this string to a nice one like: c:\Dokumente und Einstellungen\Administrator\..
Does any method exist which implements this conversion?
There is no method in -base you can use for this.
As a matter of interest, why do you want a user presentable path for the temporary directory?
Isn't it a bit outdated to return a MS-DOS 5.x string?
Backwards compatibility with MS-DOS is a Windows feature.
Regards, Sheldon
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep
_______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
