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

Re: Deleting files


  • Subject: Re: Deleting files
  • From: Bernard Azancot <email@hidden>
  • Date: Fri, 5 Mar 2004 11:32:38 +0100

Le 4 mars 04, ` 21:51, Emmanuel a icrit :

At 8:22 PM +0100 04/03/04, Bernard Azancot wrote:
Just a newbie surprise.

I have tried an elementary script to delete temp files.
It goes like this:
---
tell application "Finder"
try
delete file "tempA" of desktop
delete file "tempB" of desktop
delete file "tempC" of desktop
end try
end tell
---

-->
tempA is deleted
tempB & tempC are not

I would try deleting a list of files. Or, do shell script "rm". That works fine - and it really deletes files!

Emmanuel

Thanks Emmanuel, but... could you please be a little less "cryptic", and give me an example for dummies. :-D

Amicalement
Bernard
_______________________________________________
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.


  • Follow-Ups:
    • Re: Deleting files
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Deleting files (From: Bernard Azancot <email@hidden>)
 >Re: Deleting files (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Deleting files
  • Next by Date: Re: Deleting files
  • Previous by thread: Re: Deleting files
  • Next by thread: Re: Deleting files
  • Index(es):
    • Date
    • Thread