At 9:47 am +0100 12/11/01, Carsten Levin wrote:
>We need to copy a directory from a CD to the C or D drive on a PC.
>The directory contains everything needed for  the solution.
>Everything works, but the copied files are of course locked (welknown PC
>problem).
>
>Does anyone have a very simple solution?

Apart for going through the copied files one-by-one and turning off 
the read-only attribute? :)

Possible solutions:

1. Use a commercial installer instead of dragging the files over. 
(InstallShield, Wise, etc.)

2. Have the standalone do a check on startup for the read-only 
attributes of the other files, and where necessary reset them. This 
can be done with the shell command I believe. <get shell("attrib 
myfile -r")> but this is untested, so check carefully first. (Perhaps 
someone can confirm this.)

Cheers
Dave Cragg


Reply via email to