• 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: move file - why does it not work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: move file - why does it not work?


  • Subject: Re: move file - why does it not work?
  • From: kai <email@hidden>
  • Date: Sun, 5 Mar 2006 02:42:04 +0000


On 4 Mar 2006, at 23:00, John Fowler wrote:

... I was misled by the error message, "can't get file ..."

I agree that the error message is misleading, John - as the following results indicate:


----------------

folder "bad:path:to:folder:"

--> [error number -1728]
--> Finder got an error: Can't get folder "bad:path:to:folder:"

----------------

file "bad:path:to:file"

--> [error number -1728]
--> Finder got an error: Can't get file "bad:path:to:file"

----------------

duplicate file "bad:path:to:file" to folder "good:path:to:folder:"
or:
duplicate file "good:path:to:file" to folder "bad:path:to:folder:"
or:
duplicate file "bad:path:to:file" to folder "bad:path:to:folder:"

--> [error number -10006]
--> Finder got an error: Can't set folder "path:to:folder:" to file "path:to:file"


----------------

move file "bad:path:to:file" to folder "good:path:to:folder:"
or:
move file "good:path:to:file" to folder "bad:path:to:folder:"
or:
move file "bad:path:to:file" to folder "bad:path:to:folder:"

--> [error number -1728]
--> Finder got an error: Can't get file "path:to:file"

----------------

From this, the error message returned for the duplicate command is general enough not to be misleading. However, with the move command, the file is implicated if *any* path is wrong. (Let's just hope it has a good lawyer...)

Anyway, glad the problem was resolved - in spite of all that. :-)

---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >move file - why does it not work? (From: John Fowler <email@hidden>)
 >Re: move file - why does it not work? (From: John Fowler <email@hidden>)

  • Prev by Date: Re: Problem Emptying Trash
  • Next by Date: Re: Problem Emptying Trash
  • Previous by thread: Re: move file - why does it not work?
  • Next by thread: Problem Emptying Trash
  • Index(es):
    • Date
    • Thread