Hiding a nonRev file in a Windows Standalone
Ken Ray
kray at sonsothunder.com
Mon Mar 26 13:14:01 EDT 2007
On Mon, 26 Mar 2007 12:21:37 -0400, Charles Szasz wrote:
> How do you hide a nonRev file in a Windows Standalone? I have a RTF
> template that I want to hide so it won't be corrupted by the user.
Well, you can set the "hidden" attribute of the file to true:
-- assumes the path to the file you want to hide is in the variable
'tFile'
replace "/" with "\" in tFile
set the hideConsoleWindows to true
get shell("attrib +H" && quote & tFile & quote)
Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list