• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Change type and creator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change type and creator


  • Subject: Re: Change type and creator
  • From: Quentin Mathé <email@hidden>
  • Date: Wed, 3 Jul 2002 17:53:12 +0200

Le mercredi 3 juillet 2002, ` 04:34 PM, Philippe Martin a icrit :

At 01:50 +0200 03/07/02, Quentin Mathi wrote:
Can someone give me an example how to change the type and the creator of a file ? I suppose I must use changeFileAttributes:atPath: but I don't understand how to use it.

There are several threads about this archived at mamasam.com. See this message:
<http://cocoa.mamasam.com/MACOSXDEV/2002/04/2/32597.php>

Thanks. ... but my creator and type codes are NSString then I need to convert them to NSNumber and I don't know how to do it. I have tried :
creatorNumber = [NSNumber numberWithUnsignedLong:[creatorString cString]];
but that's not seem to be the right way. I'm a bit rusty with my C.

--
Quentin Mathi
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Change type and creator
      • From: Charles Jolley <email@hidden>
References: 
 >Re: Change type and creator (From: Philippe Martin <email@hidden>)

  • Prev by Date: Re: NSEnumerator ordering ?
  • Next by Date: Re: Change type and creator
  • Previous by thread: Re: Change type and creator
  • Next by thread: Re: Change type and creator
  • Index(es):
    • Date
    • Thread