Re: Deleting hidden files
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