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

Re: Deleting hidden files


  • Subject: Re: Deleting hidden files
  • From: JJ <email@hidden>
  • Date: Wed, 10 Oct 2001 18:49:56 +0200

> Hello,
> This may seem a bit simple but is there a way to make hidden files visible
> then delete them. I need to write a script to delete corrupted Win2000 user
> profiles. Pre W2k we simply used the Mac to delete 2 files. In W2k there
> are 2 hidden files as well and I cannot find a way to make them visible.

So easy using "File Visibility" OSAX (look at http://osaxen.com)

set HiddenFile to "HD:Desktop Folder:hidden_file.doc"
make file visible file HiddenFile
tell application "Finder" to delete alias HiddenFile

If you don't know where is the file, then:

set HiddenFile to (choose file) as text

and locate it manually.

JJ


  • Prev by Date: Sending/receiving variables Flash/AppleScript
  • Next by Date: Re: Title Page in Tex-Edit Plus
  • Previous by thread: Deleting hidden files
  • Next by thread: Whose-Filtering a Text List???
  • Index(es):
    • Date
    • Thread