File attributes - always marked as readonly

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,826
Trophies
3
Location
Gaming Grotto
XP
29,855
Country
Poland
Read-Only should not prevent you from copying the files. This might mean that you have some other problems with your HDD. Consider scanning it with chkdsk first before continuing. You could also try using xcopy via the command prompt.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,826
Trophies
3
Location
Gaming Grotto
XP
29,855
Country
Poland
I have them copied. I copied them from the external HDD to the computer's HDD. I formatted the external HDD. I'd like to know how to get rid of the attribute before I copy it back, however.

Are you on the Administrator's account? If not, switch to it and retry. Are the files stored on the ROOT of the C:\ drive, on the Desktop or in any System folder? If so, move them to a separate folder. If all fails, use "attrib -r c:\YourFolderOrFile /s" via the command prompt which will force removing the attribute. The /s switch will apply changes to sub-folders and files in them.

If even that fails, perform a chkdsk scan with the /f switch to force it and apply fixes, then retry.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,826
Trophies
3
Location
Gaming Grotto
XP
29,855
Country
Poland
Probably a dumb question, but where should I move them? Every location I try says file not found.

Are you sure you're not trying to copy your past selection from the external HDD? You need to select the files you've just copied (wherever they are now) and attempt copying them - the external HDD has been formatted so the files are indeed not found. :)

If that's not the case and you're 100% certain that you are copying the files you intend to copy, it may signify a more in-depth problem with the system, which is why I recommended to scan the drive. I know it's a chore, but it usually resolves issues like this one.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,826
Trophies
3
Location
Gaming Grotto
XP
29,855
Country
Poland
Nothing on J.
As for trying single files:
it appears all the files in J have been unmarked, but the folders are still marked as readonly.

How very odd...

Alright then, to make things quicker, you can use this command (since it seems to work on files) - "attrib -r *.* /s /d" - this should technically unmark all files within the directory tree you're starting it from.

Here's the complete syntax of the tool for you to fiddle with, maybe you'll manage to unmark the folders as well with it.

ATTRIB
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,826
Trophies
3
Location
Gaming Grotto
XP
29,855
Country
Poland
Hmm... No idea how to proceed at this point, really. At this point you shouldn't have any problems changing the attribute. The only thing that springs to mind would be using a Live CD/USB of sorts - this shouldn't be as troublesome as it is.
 

PityOnU

Well-Known Member
Member
Joined
Jul 5, 2012
Messages
1,183
Trophies
1
XP
1,617
Country
United States
Nothing on J.
MIbmh5z.png

As for trying single files:
it appears all the files in J have been unmarked, but the folders are still marked as readonly.
nzvR0Nb.png

Jesus Christ weird advice going on in this thread.

Read-only is not a problem. Windows shows that by default for all directories.

It's a tri-state check box. Checked means its read-only. Unchecked means it's not read-only. A square box (neither checked nor unchecked) means the directory is not read-only but files in it might be, if they were individually assigned as such.

Woof, guys. Just... woof.
 

PityOnU

Well-Known Member
Member
Joined
Jul 5, 2012
Messages
1,183
Trophies
1
XP
1,617
Country
United States
I unmarked all the files in it though. Besides, if I unmarked the folder, wouldn't that recursively unmark all files inside the folder?

Right. If you unchecked the box and hit apply, it would remove the read-only attribute from all files and directories in the directory recursively.

The next time you open the properties box, though, the checkbox will be filled in again instead of unchecked. Windows does not check for you. I don't work for Microsoft so I can't say why the decision was made to handle it like that, but it probably has something to do with the amount of time it would take to parse all of the attributes (recursively) of all the files and directories underneath the root directory being fairly long for large filing structures, which would have caused perceptible lag when opening the properties window (similar to how long it takes to show the size of all files within in a directory). WIthout any easy way to indicate what the hell is going on to the user, they probably just figured "forget it, just make it a tri-state."
 

PityOnU

Well-Known Member
Member
Joined
Jul 5, 2012
Messages
1,183
Trophies
1
XP
1,617
Country
United States
Again, this is not a problem with read-only.

SOmething on your PC is messed up. Maybe your drive? You can verify the file system and attempt to fix any issues by using the "chkdsk" command.

Run "chkdsk /?" do see a list of switches for that command and what they do. Then run it on your drive with the appropriate switches to verify all the files are there and not corrupted, and fix any issues if possible.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    They make good burning plastic
  • BigOnYa @ BigOnYa:
    Makes me wonder if the Pi5 can play PS2? If there's even a core for it yet.
  • K3Nv2 @ K3Nv2:
    Pi5 should be able to do ps2
  • Psionic Roshambo @ Psionic Roshambo:
    Try Dragon Quest VIII it ran perfectly on a core 2 Duo I had
  • Psionic Roshambo @ Psionic Roshambo:
    Easiest game to run I found
  • K3Nv2 @ K3Nv2:
    Ps2 emulation is cake compared to 3 years ago
  • Psionic Roshambo @ Psionic Roshambo:
    Hardest is probably Gran Turismo 4
  • Psionic Roshambo @ Psionic Roshambo:
    It's much better now yes but Gran Turismo 4 is still the hardest one to emulate that I have in my collection
  • Psionic Roshambo @ Psionic Roshambo:
    Runs perfectly fine but it's as if I can feel it always on the boarder line of dropping a frame lol
  • BigOnYa @ BigOnYa:
    I ordered a spin ball couple days ago to add to my arcade cabinet, will be nice for games like golden tee, or bowling
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted a controller for like Ikari Warriors, Time Soldiers, Heavy Barrel, Forgotten Worlds games like those
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not even sure what to call that controller
  • Xdqwerty @ Xdqwerty:
    an online friend I've known since 2021 left me :( bc my attitude is "cutty"
  • Psionic Roshambo @ Psionic Roshambo:
    Sylvester Stallone should have played Kyle Reese lol Arnold still as the Terminator
  • BakerMan @ BakerMan:
    TF DOES "CUTTY" EVEN MEAN?
  • Xdqwerty @ Xdqwerty:
    @BakerMan, he is peruvian so it's probably an idiom
  • BigOnYa @ BigOnYa:
    I thought Cutty was a west coast rapper
  • K3Nv2 @ K3Nv2:
    Cutter
  • Psionic Roshambo @ Psionic Roshambo:
    Dr Cutty
  • Psionic Roshambo @ Psionic Roshambo:
    It's from House MD lol
  • K3Nv2 @ K3Nv2:
    I took too much viagra Dr cutty oh wait
    +1
  • Ligudink @ Ligudink:
    What in the goddamn
  • Xdqwerty @ Xdqwerty:
    @Ligudink, welcome to the gbatemp chat
    +1
  • Ligudink @ Ligudink:
    I've sen enough HAHAHA
    +1
    Ligudink @ Ligudink: I've sen enough HAHAHA +1