discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTemporaryDirectory() && Windows


From: Sheldon Gill
Subject: Re: NSTemporaryDirectory() && Windows
Date: Wed, 11 May 2005 07:37:06 +0800
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]