How to set a files 'locked' property?
janschenkel at yahoo.com
Wed Sep 25 00:35:01 CDT 2002
Unfortunately it's not as simple as
set the lockText of file tFile to true
What you can do, is let WinXP do it for you with
get shell("attrib" && tFile && "-R")
If you ever need to do it on a Mac, I'm sure someone
can tell you the equivalent piece of AppleScript to
Hope this helped,
"As we grow older, we grow both wiser and more foolish
at the same time" (De Rochefoucald)
--- Chipp Walters <chipp at chipp.com> wrote:
> I know there's been discussion here lately on how to
> find out if a file is
> locked in WinXP
> put the detailed files()
> but, how can you turn off the locked property for an
> existing file? Couldn't
> find it in the notes. Thanks for any help.
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
More information about the use-livecode