• 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: Deleting Alias
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Deleting Alias


  • Subject: RE: Deleting Alias
  • From: "Glover,David" <email@hidden>
  • Date: Fri, 19 Sep 2008 15:45:13 +0100
  • Thread-topic: Deleting Alias

Hi, just in case anybody else notices similar behaviour - I called
removeFileAtPath if an fileExistsAtPath check on the alias evaluated to
true - BUT fileExistsAtPath method only returns true on an alias if the
original file / app is present.  The removeFileAtPath method on its own
will quite happily delete an alias whether the original file is present
or not AFAIK.


-----Original Message-----
From: cocoa-dev-bounces+david.glover=email@hidden
[mailto:cocoa-dev-bounces+david.glover=email@hidden.c
om] On Behalf Of Glover,David
Sent: 19 September 2008 11:36
To: Cocoa Development
Subject: Deleting Alias

Hi,



I've tried using removeFileAtPath to delete an alias in the users home
folder, but this doesn't work - it deletes any other file, just not
aliases.



I can't seem to find another method that will do the job.  Any help or
advice to resolve this would be greatly appreciated.



Kind Regards

Dave




Promethean Limited is a company registered in England and Wales with
company number 1308938 and VAT number GB 572 2599 18
______________________________________________

Promethean Ltd and or associated and or subsidiary companies :

The views expressed in this communication may not necessarily be
the views held by Promethean Ltd and or associated and or subsidiary
companies.

This e-mail is for the exclusive use of the addressee(s). Unauthorised
disclosure, copying or distribution is prohibited.

This e-mail message has been swept for the presence of computer viruses.

Promethean Ltd and or associated and or subsidiary companies accepts no
liability for any loss resulting from this email transmission.

Promethean, Promethean House, Lower Philips Road, Blackburn, Lancashire,
BB1 5TH, UK. Please update your records accordingly. Thank you!



*****************************************************************
This email has been checked by the e-Sweeper Service
*****************************************************************

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
anworld.com

This email sent to email@hidden


*****************************************************************
This email has been checked by the e-Sweeper Service
*****************************************************************

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Deleting Alias (From: "Glover,David" <email@hidden>)

  • Prev by Date: Re: Weird Error
  • Next by Date: Re: fullscreen quicktime across multiple monitors
  • Previous by thread: Deleting Alias
  • Next by thread: How to hide disclosure triangle in NSOutlineView [10.5]?
  • Index(es):
    • Date
    • Thread