DOS commands, attrib

Kurt Kaufman kkaufman at
Fri Apr 18 07:38:01 EDT 2003

David G. wrote:
If I put it in a preopenstack handler:-

on preopenstack
blah blah blah
If the platform is "Win32" then get shell ("attrib -r" && tFileName)
blah blah
end preopenstack

will it matter that it is run every time despite the property only 
needing to be set once?

I don't think it matters, but I have not needed to use DOS commands so 
far, so perhaps someone else (Jan?) can tell you for sure.  I think you 
have to call Windows "Win32" when querying the platform, above.

More information about the use-livecode mailing list