createSymbolicLinkAtPath
createSymbolicLinkAtPath
- Subject: createSymbolicLinkAtPath
- From: Mark Hatton <email@hidden>
- Date: Tue, 14 May 2002 00:58:04 -0500
I have some code that tries to create a symbolic link as an if test. If
the link destination exists, the user is prompted by the system to
replace it. All good so far. However, createSymbolicLinkAtPath always
returns NO, regardless of whether or not it successfully replaced the
file. How do I make it return YES if they replace and NO if they cancel?
I'm trying to determine if they did, in fact do anything, in case that
was not clear.
Is this method returning NO because I am replacing an identical link?
(And thereby not really changing anything) Would it return YES if I
replaced a link to something else or perhaps replaced a .jpg with a link
to something?
Love,
The Server Surfer
_______________________________________________
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.