PC Review


Reply
Thread Tools Rate Thread

changing read-only folder & fle attributes on my system

 
 
=?Utf-8?B?a2tkcmFwZXI=?=
Guest
Posts: n/a
 
      3rd Feb 2007
I couldn't get remove the green square in the read-only box under Attributes
under Properties. I got the following from the Microsoft site.

1. Start Registry Editor (Regedit.exe).
2. Locate the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer
3. On the Edit menu, point to New, click DWORD Value, and then type the
following registry value name:
UseSystemForSystemFolders
4. Right-click the new value, and then click Modify.
5. Type 1, and then click OK.
6. Quit Registry Editor.
7. After you make this change to the registry, you must change the Read-Only
attribute for all affected folders by using the attrib command at a command
prompt (Command.com or Cmd.exe). Type attrib /? at the command prompt to view
the syntax for the attrib command. For example, to change the Read-Only
attribute to System for the C:\Test folder, use the following command:
attrib -r +s c:\test

My question is - "is there an actual file called "TEST" on the C drive or am
I supposed to type in something else? Do I have to do it for each folder I
want to change? How would I get it to change "My Pictures" for example?

 
Reply With Quote
 
 
 
 
=?utf-8?Q?Daniel_Mart=C3=ADn_=5BMVP_Windows=5D?=
Guest
Posts: n/a
 
      3rd Feb 2007
> My question is - "is there an actual file called "TEST" on the C drive or
> am
> I supposed to type in something else?


"Test" is a placeholder for your real folder. If your folder is "My
Pictures", for example, and is located at \Documents and
Settings\Username\My Documents, then use this syntax:

attrib -r +s "%UserProfile%\My Documents\My Pictures"

(Note the quotes around the path; it contains blank spaces.)

--
Regards,
Daniel MartÃ*n
Microsoft MVP Windows - Shell/User


"kkdraper" <(E-Mail Removed)> wrote in message
news:4C87F1C6-73D6-497E-87B6-(E-Mail Removed)...
>I couldn't get remove the green square in the read-only box under
>Attributes
> under Properties. I got the following from the Microsoft site.
>
> 1. Start Registry Editor (Regedit.exe).
> 2. Locate the following registry key:
> HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer
> 3. On the Edit menu, point to New, click DWORD Value, and then type the
> following registry value name:
> UseSystemForSystemFolders
> 4. Right-click the new value, and then click Modify.
> 5. Type 1, and then click OK.
> 6. Quit Registry Editor.
> 7. After you make this change to the registry, you must change the
> Read-Only
> attribute for all affected folders by using the attrib command at a
> command
> prompt (Command.com or Cmd.exe). Type attrib /? at the command prompt to
> view
> the syntax for the attrib command. For example, to change the Read-Only
> attribute to System for the C:\Test folder, use the following command:
> attrib -r +s c:\test
>
> My question is - "is there an actual file called "TEST" on the C drive or
> am
> I supposed to type in something else? Do I have to do it for each folder I
> want to change? How would I get it to change "My Pictures" for example?
>


 
Reply With Quote
 
=?Utf-8?B?a2tkcmFwZXI=?=
Guest
Posts: n/a
 
      3rd Feb 2007
That's what I thought so I typed attrib -r +s c:\My Documents\My Pictures and
I always get "Parameter format not correct". Or even if I type attrib -r +s
My Documents\My Pictures I get that same error message.
What do you mean by user profile???????
The prompt already has us at c:\Documents and Settings\HP_Owner........and
I'm trying to tell it My Document\My Pictures

"Daniel MartÃ*n [MVP Windows]" wrote:

> > My question is - "is there an actual file called "TEST" on the C drive or
> > am
> > I supposed to type in something else?

>
> "Test" is a placeholder for your real folder. If your folder is "My
> Pictures", for example, and is located at \Documents and
> Settings\Username\My Documents, then use this syntax:
>
> attrib -r +s "%UserProfile%\My Documents\My Pictures"
>
> (Note the quotes around the path; it contains blank spaces.)
>
> --
> Regards,
> Daniel MartÃ*n
> Microsoft MVP Windows - Shell/User
>
>
> "kkdraper" <(E-Mail Removed)> wrote in message
> news:4C87F1C6-73D6-497E-87B6-(E-Mail Removed)...
> >I couldn't get remove the green square in the read-only box under
> >Attributes
> > under Properties. I got the following from the Microsoft site.
> >
> > 1. Start Registry Editor (Regedit.exe).
> > 2. Locate the following registry key:
> > HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer
> > 3. On the Edit menu, point to New, click DWORD Value, and then type the
> > following registry value name:
> > UseSystemForSystemFolders
> > 4. Right-click the new value, and then click Modify.
> > 5. Type 1, and then click OK.
> > 6. Quit Registry Editor.
> > 7. After you make this change to the registry, you must change the
> > Read-Only
> > attribute for all affected folders by using the attrib command at a
> > command
> > prompt (Command.com or Cmd.exe). Type attrib /? at the command prompt to
> > view
> > the syntax for the attrib command. For example, to change the Read-Only
> > attribute to System for the C:\Test folder, use the following command:
> > attrib -r +s c:\test
> >
> > My question is - "is there an actual file called "TEST" on the C drive or
> > am
> > I supposed to type in something else? Do I have to do it for each folder I
> > want to change? How would I get it to change "My Pictures" for example?
> >

>
>

 
Reply With Quote
 
=?utf-8?Q?Daniel_Mart=C3=ADn_=5BMVP_Windows=5D?=
Guest
Posts: n/a
 
      3rd Feb 2007
You must enclose the path name in double quotation marks:

attrib -r +s "My Documents\My Pictures"

--
Regards,
Daniel MartÃ*n
Microsoft MVP Windows - Shell/User


"kkdraper" <(E-Mail Removed)> wrote in message
news:22E12D6C-F2AD-4212-9EFF-(E-Mail Removed)...
> That's what I thought so I typed attrib -r +s c:\My Documents\My Pictures
> and
> I always get "Parameter format not correct". Or even if I type attrib -r
> +s
> My Documents\My Pictures I get that same error message.
> What do you mean by user profile???????
> The prompt already has us at c:\Documents and Settings\HP_Owner........and
> I'm trying to tell it My Document\My Pictures
>
> "Daniel MartÃ*n [MVP Windows]" wrote:
>
>> > My question is - "is there an actual file called "TEST" on the C drive
>> > or
>> > am
>> > I supposed to type in something else?

>>
>> "Test" is a placeholder for your real folder. If your folder is "My
>> Pictures", for example, and is located at \Documents and
>> Settings\Username\My Documents, then use this syntax:
>>
>> attrib -r +s "%UserProfile%\My Documents\My Pictures"
>>
>> (Note the quotes around the path; it contains blank spaces.)
>>
>> --
>> Regards,
>> Daniel MartÃ*n
>> Microsoft MVP Windows - Shell/User
>>
>>
>> "kkdraper" <(E-Mail Removed)> wrote in message
>> news:4C87F1C6-73D6-497E-87B6-(E-Mail Removed)...
>> >I couldn't get remove the green square in the read-only box under
>> >Attributes
>> > under Properties. I got the following from the Microsoft site.
>> >
>> > 1. Start Registry Editor (Regedit.exe).
>> > 2. Locate the following registry key:
>> > HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer
>> > 3. On the Edit menu, point to New, click DWORD Value, and then type the
>> > following registry value name:
>> > UseSystemForSystemFolders
>> > 4. Right-click the new value, and then click Modify.
>> > 5. Type 1, and then click OK.
>> > 6. Quit Registry Editor.
>> > 7. After you make this change to the registry, you must change the
>> > Read-Only
>> > attribute for all affected folders by using the attrib command at a
>> > command
>> > prompt (Command.com or Cmd.exe). Type attrib /? at the command prompt
>> > to
>> > view
>> > the syntax for the attrib command. For example, to change the Read-Only
>> > attribute to System for the C:\Test folder, use the following command:
>> > attrib -r +s c:\test
>> >
>> > My question is - "is there an actual file called "TEST" on the C drive
>> > or
>> > am
>> > I supposed to type in something else? Do I have to do it for each
>> > folder I
>> > want to change? How would I get it to change "My Pictures" for example?
>> >

>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing read only attributes in Windows XP Pro =?Utf-8?B?VG9ueQ==?= Windows XP Security 0 23rd May 2005 11:10 PM
Windows XP changing file attributes to Read Only! Allen Toussaint Windows XP New Users 1 8th Jun 2004 02:16 AM
Folder/File attributes changing to Read-Only automatically! Farooq Windows XP General 0 6th Jun 2004 07:09 PM
Changing attributes from read only files copied to CD Gae Windows XP Help 9 19th Feb 2004 03:16 PM
changing read only attributes KH Windows XP Security 1 14th Oct 2003 09:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:13 AM.