Solved unable to remove read only attribute

Hewlett-packard Deskjet 6127 inkjet prin...
May 22, 2016 at 12:19:56
Specs: windows 7, 8GB
I have a bunch of mp3's on an external drive. I also have said mp3's backed up to dvdrw's. It has been a while since I worked on my music collection and have just started again.

The first thing I wanted to do was to do a comparison of what is on the external drive vs what is on the dvdrw's. In this process I determined there we differences but it seems to be only related to the format of the file name (" - " vs "-").

Together with batch and perl I wrote a script to rename the files on the dvdrw. Things were going great. I had done files in about 10 folders when all of a sudden I got to a folder where I could not rename the file. I tried doing it manually and got the same 'access denied error'. Looking at the properties I see the file is read only. I tried removing the attribute but when I click apply I again get an access denied message. I tried using attrib in command window but get the same thing.

For curiosity I tried to change a file back that previously had worked, and now it is read only and can't be changed either.

Any suggestions?

See More: unable to remove read only attribute

Report •

May 22, 2016 at 13:31:52
Interesting enough I just took the problem DVDRW out of the drive and later put it back in and it asked me of I wanted to scan and fix the DVD RW Drive.

Report •

May 22, 2016 at 15:21:32
✔ Best Answer
Okay I may be okay now. I put the DVDRW in another machine and it started something called Recover Mount. I had an OK and an Explain button. The Explain button took me to a help page. I clicked the OK button and it must have gone and tried to fix the DVD.

I can now rename more files on the DVD using the original machine. I still had a problem over writing files, but if I delete the file first, I am then able to write the new file to the drive.

Report •

May 22, 2016 at 17:45:39
Problem solved, thanks for letting us know.

Report •

Related Solutions

May 23, 2016 at 12:30:47
FYI, Windows 7 will allow you to rename files on a CDRDVDR. Of course you aren't actually changing the original file name but just making the original as ignore and writing a copy with the changes.

The advantage is that write once media is a fraction of the cost of re-writable versions. Plus, CDR/DVDR are generally more compatible in stand alone players.

message edited by OtheHill

Report •

Ask Question