• 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: Simply deleting a fil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simply deleting a fil


  • Subject: Re: Simply deleting a fil
  • From: Skeeve <email@hidden>
  • Date: Fri, 17 Apr 2009 09:50:43 +0200

Satyam Satyanarayana schrieb:
I am facing simple trouble deleting a folder.
I have a folder "__MACOSX" in my Documents folder. The following are the two lines I am trying to delete the folder. But its not deleting. Not even displaying error.


set deletePath to POSIX path of (path to documents folder) & "__MACOSX"
try: do shell script "rm -rf " & quoted form of deletePath

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Photomerge (From: Stan Cleveland <email@hidden>)
 >Simply deleting a fil (From: Satyam Satyanarayana <email@hidden>)

  • Prev by Date: Simply deleting a fil
  • Next by Date: Re: Simply deleting a fil
  • Previous by thread: Simply deleting a fil
  • Next by thread: Re: Simply deleting a fil
  • Index(es):
    • Date
    • Thread