• 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: Why isn't this delete file command working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why isn't this delete file command working?


  • Subject: Re: Why isn't this delete file command working?
  • From: Dave Kelly <email@hidden>
  • Date: Wed, 18 Sep 2002 11:59:50 -0700

On Wednesday, September 18, 2002, at 08:00 AM, email@hidden wrote:

I've got an Applescript that goes through and deletes a bunch of things that
an installer put in place. Everything deletes fine until I get to one line
of code:

if file "MacPoET INIT" of +class extn; exists then
delete file "MacPoET INIT" of +class extn;
end if


Applescript doesn't like the "delete file" line. The file definetely
exists, so I don't know why I'm getting an error. I'm getting a -1728
error. Could it be that I'm not allowed to delete INITs in Applescript
under OS 9?

Could it be that you can't delete the file because it is in use?
_______________________________________________
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: 
 >Why isn't this delete file command working? (From: email@hidden)

  • Prev by Date: Turning ASIP file services off and on
  • Next by Date: Re: Quark doc as ASCII
  • Previous by thread: Why isn't this delete file command working?
  • Next by thread: Program Linking Still!
  • Index(es):
    • Date
    • Thread