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

Re: rename file/copy file


  • Subject: Re: rename file/copy file
  • From: Olivier Destrebecq <email@hidden>
  • Date: Wed, 17 Apr 2002 14:25:11 -0500

tell app "Finder"
duplicate alias "xxxx" to "xxxx"
set name of result to "xxxx"
end tell

olivier

On Wednesday, April 17, 2002, at 01:36 AM, John Cuccio wrote:

How can I rename a file that I copy.

set path1 to "hard Disk:pdata:all.csv";
set path2 to "hard disk:ztape:cz04152002"

Tell application "finder"
copy file path1 to name of path2
end tell

Thank You
John Cuccio
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >rename file/copy file (From: John Cuccio <email@hidden>)

  • Prev by Date: Re: Need to make a script wait or pause
  • Next by Date: changing quark page name/number
  • Previous by thread: rename file/copy file
  • Next by thread: Need to ruinb a command as root
  • Index(es):
    • Date
    • Thread