stp
12th February 2003 10:00 UTC
Hot to overwrite a file, that is readonly ??
I must install a new File.
But the existing file is readonly.
How can i overwrite the existing file
or
reset the readonly - Attribut of the existing file ??
The syntax for setting a attribut is SetFileAttributes xx READONLY.
But how can i reset a attribut of a existing file ??
Thanks
Peter
JaqDraco
12th February 2003 10:18 UTC
If you use SetFileAttributes filename NORMAL all attributes are reseted
but you have to know the filename. Wildcards are not supported.
TomThumbKOP
12th February 2003 14:44 UTC
Or, if you don't mind a cheesey solution, you can ExecWait an Attrib -r *.blah then you can use wildcards. :D