TIP: Click on subject to list as thread! ANSI
echo: os2user-l
to: All
from: Herbert Rosenau
date: 2004-10-08 13:27:20
subject: Re: ATTRIB Does Not Work !!!

Kris Steenhaut schrieb:
> 
> 
> altownsend{at}dccnet.com schreef:
> 
> 
>>Thu, October 07, 2004 - 04:03 PM
>>
>>Hi Gang:
>>
>>At a Command prompt type "help attrib"
>>
>>Under Exaples it gives:
>>To display the current settings of the archive and read-only bits
for all the files on drive C, enter the following: 
>>
>>ATTRIB C:\*.* /S
>>
>>And in the exaples all parameters are given in capital letters
>>
>> 
>>
> 
> To repeat myself again: Don has xcopied from CD to harddisk, and as a 
> result not only all files, but worse, all directories are read only. You 
> can't fix the latter from command line just like that.
> 
> He knows what to do, he even has the proper tool onboard (FC/2). Only, 
> for once he looks a little bit stubbern. :-)
> 
attrib -r x:\* /S	remomes all readonly attributes from all
attrib -s x:\* /S       same for system attribute
attrib -h x:\* /S       and third for hidden attribute

atrrib -rhs x:\* /S     works only for such files wheras all
                         3 attributes set.

Running attrib for each attribute separately guarantees success on any 
combination.

To get files/dir#s removed:
rm -rf * is much simpler, quicker and guaratees success for anything 
that is not locked.

locked: some files are not only open but locked when OS/2 is active on 
a drive. locked files can sometims easy opened but not deleted/changed.

To get them unlocked you needs \ecs\bin\unlock.exe (with the risk of 
crashing applications or the whole system.

-- 
Tschau/Bye

Herbert Rosenau
EDV Beratung & Programmierung
Eichelsdorfer Str. 15
97461 Hofheim i.UFr.

Tel: 49-9523-502834
Fax: 49-9523-502823                     http://www.dv-rosenau.de/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/E8folB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

 To visit your group on the web, go to:
    http://groups.yahoo.com/group/os2user/

 To unsubscribe from this group, send an email to:
    os2user-unsubscribe{at}yahoogroups.com

 Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




---
* Origin: Waldo's Place USA Internet Gateway (1:3634/1000)
SEEN-BY: 633/267 270
@PATH: 3634/1000 12 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.