Hello Richmond,


you have to use the windows shell command attrib

e.g.  attrib +H <mypath\file>

use it in livecode with the shell() function

e.g.

put the directory into tPathAndFilename
replace "/" with "\" in tPathAndFilename

-- if tPathAndFilename contains spaces then
-- put quote & tPathAndFilename & quote into tPathAndFilename

put "attrib +H" && tPathAndFilename into tCmd

put shell(tCmd) into tErr

Best
Wolfgang


Am 16.04.2013 12:41, schrieb Richmond:
On Linux and Mac (a.k.a. kinky UNIX) one can hide a folder
by starting its name with a '.', and this means handling
invisible folders in Livecode is very simple.

HOWEVER, from what I have read an invisible folder on Windows
is not invisible by dint of its name but by setting a property of
the older.

SO; can one create an invisible folder in Windows using Livecode?

Richmond.

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to