Re: Deleting files
Re: Deleting files
- Subject: Re: Deleting files
- From: Emmanuel <email@hidden>
- Date: Thu, 4 Mar 2004 21:51:50 +0100
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
_______________________________________________
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.