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

Re: Delete file


  • Subject: Re: Delete file
  • From: nellA hciR <email@hidden>
  • Date: Tue, 16 Jul 2002 10:33:26 -0800

you could use

do shell script("rm fullFilePathName")

- hcir


On Sunday, July 14, 2002, at 11:01 , Peter Wiherkoski wrote:

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?
_______________________________________________
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: 
 >Delete file (From: Peter Wiherkoski <email@hidden>)

  • Prev by Date: counting files
  • Next by Date: Re: scripting on macs in general
  • Previous by thread: Delete file
  • Next by thread: Closing Classic
  • Index(es):
    • Date
    • Thread