[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
- NSTemporaryDirectory() && Windows, Marc Brünink, 2005/05/10
- Re: NSTemporaryDirectory() && Windows,
Sheldon Gill <=
- Re: NSTemporaryDirectory() && Windows, Lloyd Dupont, 2005/05/10
- Re: NSTemporaryDirectory() && Windows, Marc Brünink, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Richard Frith-Macdonald, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Sheldon Gill, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Marc Brünink, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Richard Frith-Macdonald, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Marc Brünink, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Richard Frith-Macdonald, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Alex Perez, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Marc Brünink, 2005/05/12