Read only

J. Landman Gay jacque at hyperactivesw.com
Fri Feb 27 21:57:04 EST 2004


On 2/27/04 5:28 PM, Greg Wills wrote:

> So I have developed a Rev application and I burnt it onto a CD. When I 
> go to another machine and copy it from the CD to the computer, the file 
> that is now on the computer is "read only".  Therefore if the program 
> updates data files etc it cannot be done.
> 
> What is the best way to remove the "read only" property on the new file 
> other than doing it manually after it has been copied. (Putting it onto 
> a windows machine)

As far as I can tell, that's one of the main reasons that Windows apps 
use installers, because files from CDs are always copied as read-only. I 
usually solve the problem by avoiding it, and .zip the files before 
burning to CD. If you want to change it from within your Rev app, 
there's probably a shell command.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list