[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About defaults tool on Windows
From: |
David Ayers |
Subject: |
Re: About defaults tool on Windows |
Date: |
Tue, 06 Mar 2007 21:32:43 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20070113) |
Richard Frith-Macdonald schrieb:
>
> On 6 Mar 2007, at 11:13, David Ayers wrote:
>
>> Xavier Glattard schrieb:
>>
>>> Richard Frith-Macdonald <richard <at> tiptree.demon.co.uk> writes:
>>
>> [snip]
>>
>>>>
>>>> If so, should NSUserDefaults strip the .exe? I don't know.
>>>
>>>
>>>
>>> I think it should. Two reasons :
>>>
>>> - compatibility :
>>> - a script (installation ?) that use defaults is not portable.
>>> - a UserDefaults file is system dependent and can not be
>>> shared between Windows and linux
>>> - it's annoying ;-)
>>> i always forget the '.exe' and dont understand why it doesnt work ;-)
>>
>>
>> Just another data point, interpret as you wish... but OPENSTEP on NT and
>> WO did strip the extensions to identify the domain name
>>
>> C:\Apple\Local\Projects>defaults domains
>> Calculator ChangesTest EOFTestApp EOITest EOModeler EOTool FileMerge
>> GSMarkupBrowser ....
>
>
> That's good enough for me. I'll change it.
>
> Did they string the .exe from [NSProcessinfo-processName] as well?
>
Interesting... indeed they did remove the string... MyTestTool.exe
reports MyTestTool.
Cheers,
David