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

Reply via email to