• 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: simple file copy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple file copy


  • Subject: Re: simple file copy
  • From: Neil Faiman <email@hidden>
  • Date: Wed, 20 Apr 2005 18:39:01 -0400


On Apr 20, 2005, at 6:01 PM, Bob Cuilla wrote:

i need to copy an existing file "File a" in folder "desktop/source" to another folder location "desktop/destination" and call it "File B"


tell application "Finder"
set theDesktop to folder (path to desktop folder as Unicode text)
duplicate file "File A" of folder "Source" of theDesktop to folder "Destination" of theDesktop
set the name of the result to "File B"
end tell


_______________________________________________
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: 
 >simple file copy (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Re: simple file copy
  • Next by Date: Re: Script Error" A resource wasn ' t found
  • Previous by thread: Re: simple file copy
  • Next by thread: Re: simple file copy
  • Index(es):
    • Date
    • Thread