CMD.EXE question

bob the builder

Chieftain
Joined
Dec 1, 2005
Messages
29
I am trying to remove the read only attribute from folders by using the CMD.EXE, following microsofts instructions but it dosent work.
i try typing the following and get the respond:

attrib -r C:\program files (x86)\movie maker
>parameter format not correct -

attrib -r "C:\program files (x86)\movie maker"
>
(no response)
 
I thought it was attrib c:\program files (x86)\movie maker -r myself.

Guess not, just checked the help attrib in cmd and it came back with this:
C:\Documents and Settings\Administrator>help attrib
Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename]
[/S [/D]]

+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
[drive:][path][filename]
Specifies a file or files for attrib to process.
/S Processes matching files in the current folder
and all subfolders.
/D Processes folders as well.

Maybe you need a capital R? But I don't remember dos being case sensitive.

Just curious, why aren't you doing this through the right click in windows explorer?
 
That command doesn't give a response when it makes the change. I just used it to add and then remove read-only from a folder (double checking it with explorer), and this is exactly what the console showed:

Code:
C:\>attrib +r C:\temp

C:\>attrib -r C:\temp
 
Turner_727 said:
Just curious, why aren't you doing this through the right click in windows explorer?

cus on some folders like movie maker you cant remove read only with explorer. and i really wanna get rid of those
 
Speedo said:
That command doesn't give a response when it makes the change. I just used it to add and then remove read-only from a folder (double checking it with explorer), and this is exactly what the console showed:

Code:
C:\>attrib +r C:\temp

C:\>attrib -r C:\temp

how do you get C:\> only?
mine is always set on C:\Documents and Settings\Administrator>
 
cd /?

For help on using the cd command.
 
Back
Top Bottom