HI Bill, For Windows use shell, example below:
set the hideconsolewindows to true get shell("attrib" && quote & myFile & quote && "+r") // read only to make writtable again set the hideconsolewindows to true get shell("attrib" && quote & myFile & quote && "-r") Of course you can use "+r +s +h" attributes as well, read only, system, hidden. ----- Andy Piddock My software never has bugs. It just develops random features. PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode (v1.3.1 released 22/03/2011) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-I-set-file-as-read-only-tp3759098p3759473.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode