Read-only folder + ATTRIB command

D

Dan

I was trying to modify a game folder that for some reason
needs the "Read-Only" button on the directory it is
contained in unchecked. I tried using the "ATTRIB"
command (attrib -r e:/FOLDER) and I keep getting
a "Parameter format not correct -" error. Does anyone
know how I can fix this? (I already read the KB article
on folder read-only thing and copy/pasted their string
and it still didn't work).
 
D

David Candy

Try using a backslash instead of a forward slash or post what you are actually doing rather than hypothetical questions.
 
G

Guest

E:\>attrib -r e:/Close Combat 5 Normandy Invasion
Parameter format not correct -

E:\>attrib -r e:\Close Combat 5 Normandy Invasion
Parameter format not correct -

Neither backslash nor forward slash worked ; )
-----Original Message-----
Try using a backslash instead of a forward slash or post
what you are actually doing rather than hypothetical
questions.
 
T

Tom Porterfield

E:\>attrib -r e:/Close Combat 5 Normandy Invasion
Parameter format not correct -

E:\>attrib -r e:\Close Combat 5 Normandy Invasion
Parameter format not correct -

Neither backslash nor forward slash worked ; )

The folder name has spaces so you need to put it in quotes. Ex:

attrib -r "e:\Close Combat 5 Normandy Invasion"
--
Tom Porterfield
MS-MVP MCE
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
A

Alex Nichol

Dan said:
I was trying to modify a game folder that for some reason
needs the "Read-Only" button on the directory it is
contained in unchecked. I tried using the "ATTRIB"
command (attrib -r e:/FOLDER) and I keep getting
a "Parameter format not correct -" error.

Read only is an attribute that has no meaning for folders (the
directories are always open for writing), and XP makes an alternative
use of it. You can change it and on Apply it will ask if you want the
change applied to all contained objects, but the display of it for the
folder will revert to greyed

If a game is refusing to work because a folder is marked read only,
complain to the author. And you could remove the 'alternative use'
which arises because the folder has been Customised, and this is being
used to say so
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top