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

Delete file


  • Subject: Delete file
  • From: Peter Wiherkoski <email@hidden>
  • Date: Mon, 15 Jul 2002 09:12:50 +0200

Hello, I4m using a simply Finder-script that will delete hundreds of old files on a mounted server:

tell app "Finder"
delete file "Server:xyzxyz"
end tell

In Mac OS 9 that is no problem. The deleted file is put in the Trash. After all files are deleted, I use the "empty trash" command. Done.
But in OS X i got the following message for every file i want to delete: "The item "xyzxyz" will be deleted immediately. Are you sure you want to continue?". Why is that? It4s the same om ASIP 6.x or Mac OS X Server. How can I solve this problem?


Thanks

Peter
_______________________________________________
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.

  • Prev by Date: Re: Unquoting a string
  • Next by Date: Closing Classic
  • Previous by thread: Re: has's list wrappers [Re: Passing *possible* variables to a handler]
  • Next by thread: Delete file
  • Index(es):
    • Date
    • Thread