1.

Solve : Can't overwrite because of Read-Only file?

Answer»

I MADE a batch file wich should overwrite ANOTHER exe, but the exe was made bij an installer so i can't change the exe before the installer was FINISHED, so is there any msdos command to Un read only a file? So my installer will work?the command you are looking for is attrib -r

For example, if you wanted to MAKE the file c:\test.exe to no LONGER be a read only, you would put in the command:

attrib -r c:\test.exe

Just add that into your batch before the overwriting and you should be good.Thanks it worked!



Discussion

No Comment Found