For the purpose of changing folder/directory attributes, the DOS mode ATTRIB.EXE works just fine in any version of Windows.
Moreover, Windows will not complain [in most cases] that it has folders in use, only files in use.
Therefore one can change most folder attributes from a DOS box [example]:
attrib c:\progra~1 -r +a
attrib %windir%\fonts -h -r -s
attrib %windir%\inf -h
attrib %windir%\sysbckup -h
Note that in order to change a folder atrributes using attrib.exe you must type the folder name not followed by any backslash nor file name(s) nor "wild" cards.
The only annoyance is that you can't change subfolders attributes the same way you do with files, unfortunately the /S switch doesn't work with subdirectories.
Also, you can't use wild cards to change attributes of multiple folders, you must specify exact LFN [surrounded by quotation marks in a DOS box] or SFN folder name [in native MS-DOS mode].
In the rare cases when Windows pops up a nag dialog like "this folder... is is use", you need to exit/reboot Windows 9x/ME to native/pure MS-DOS mode, and then run attrib from there.
If running an NTx OS, just dual-boot to Win9x/ME or with the "recovery console" option from the boot menu:
http://www.mdgx.com/newtip21.htm#WRC
The only system folder you do *not* want to change attributes is %windir%\Downloaded Program Files [short name: %windir%\DOWNLO~1]. This folder *must* have the System (S) attribute for Windows to recognize its files as properly installed ActiveX [OCX] +/- OSD controls. And this is valid for all 9x + NTx OSes.
To view this folder's contents:
create a new folder on your Desktop with this name:
ActiveX Controls Folder.{88C6C381-2E85-11D0-94DE-444553540000}
You can change/add/delete any characters before the dot [.], to match the name you want.
Must not change any characters after the dot.
Then to change its attributes, run:
attrib -s %windir%\DOWNLO~1
Press F5 to refresh the Desktop.
Then open the new folder [see above] on your Desktop.
You'll notice all "Installed" strings under the Status column are gone.
Now restore its attributes:
attrib +s %windir%\DOWNLO~1
Press F5.
You'll notice that all "Installed" strings are back.
Hope this helps.