NSDictionary* attributes = [NSDictionary dictionaryWithObject:
[NSNumber numberWithBool:YES] forKey:NSFileExtensionHidden];
[[NSFileManager defaultManager] changeFileAttributes:attributes
atPath:path];
On May 4, 2009, at 6:40 PM, Finlay Dobbie wrote:
On Fri, May 1, 2009 at 8:30 AM, Erg Consultant
<[email protected]> wrote:
Is there a way to do this? I checked all the File Manager docs and
would have thought there would have been something in the cat info
to do it, but apparently not.
OSStatus LSSetExtensionHiddenForRef (
const FSRef *inRef,
Boolean inHide
);
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/dave.fernandes%
40utoronto.ca
This email sent to [email protected]
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]