The NEW Build Your Own Arcade Controls
Main => Software Forum => Topic started by: Delicious on October 10, 2014, 02:25:31 am
-
Hello all
im working on my 3rd mame cab and this is my first experience with using win 7 as an OS for one. I need to change my folder attributes from "read only" so that my preferences are saved.
been trying to save preferences in MA and a couple of emulators and i cant apparently without doing this first.
ive been reading online about how i can go into command prompt and type: attrib -r +s to fix this but it has no effect on my folder.
ive done the "take ownership" of the folder and that has no effect either :dunno
im about at my wits end and am thinking about wiping the hd and installing xp sp3
if anyone could help me i would greatly appreciate it.
-
Windows 7 take ownership of folder
http://technet.microsoft.com/en-us/library/cc753659.aspx (http://technet.microsoft.com/en-us/library/cc753659.aspx)
This article might help too:
You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, in Windows Vista or in Windows 7
http://support.microsoft.com/kb/326549 (http://support.microsoft.com/kb/326549)
If all else fails, try creating a new folder to replace your current one.
-
Is your profile an admin? Or some extremely limited user?
-
Is it by chance installed to the Program files folder ? -- with windows 7 MS increased the security settings on the program files folder to keep programs from altering settings of other programs - so best thing to do is install to another folder outside the Program files folder.
-
the folder in question is my MA folder which i have on the desktop. Ive tried taking ownership i even downloaded a thing that adds a take ownership option when you right click. After i take ownership, a dos window flashes a bunch of stuff and then closes.
when all is said and done there are no changes made.
ive tried making a new folder and when i check the properties it makes it read only by default.
i bought this pc off of craigslist so i am not the original owner. its nicer than any of my previous mame pcs
is it possible to format C and then install xp?
the pc was made for windows7.
i dont have any directories in the progams files folder
there is only one one account, that i know of and thats the owner. although i will check my user accounts to make sure
-
Hey,
I'd try the alternate route of Power shell. Windows scripting language.
Go to your windows start menu, and type in 'powershell'. Youll want to right click it and run as an admin.
Check out this page
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/6c151046-82c2-424f-b750-8e5dd620cf64/powershell-script-to-change-file-attributes (https://social.technet.microsoft.com/Forums/scriptcenter/en-US/6c151046-82c2-424f-b750-8e5dd620cf64/powershell-script-to-change-file-attributes)
Basically if its just a folder on your desktop your command will look like this:
Get-Item "c:\user\me\desktop\folder\" -Recurse | foreach {$_.Attributes = 'Normal'}
though I just tried and got -recurse isn't a proper command, so you might want to try:
Get-Item "c:\user\me\desktop\folder\" | foreach {$_.Attributes = 'Normal'}
You can't go wrong learning a few things here:
http://blogs.technet.com/b/heyscriptingguy/archive/2011/01/26/use-a-powershell-cmdlet-to-work-with-file-attributes.aspx (http://blogs.technet.com/b/heyscriptingguy/archive/2011/01/26/use-a-powershell-cmdlet-to-work-with-file-attributes.aspx)
Let me know if it works.
-
Have you checked to see if the files in that folder also have the read only attribute? I know in my windows 7 installation only the folders retain the read only attribute after changing it. The files inside the folders do not have read only attribute and my settings get saved without issues despite having the folder be read only.
-
Folders cannot be read only, that is an attribute only for files. In windows 7, folders will show with a solid box under read only. The critical item to check is the files themselves. If you select the preference files, and no folders, you can check if they are read only. If they are not, you are fine.
If your preference file is not read-only, you most likely have some other issue going on.