blank.gif (43 bytes)

Church Of The
Swimming Elephant




To display the attributes of a file named NEWS86 located on the current drive, type the following command:

attrib news86

To assign the read-only attribute to the file REPORT.TXT, type the following command:

attrib +r report.txt

To remove the read-only attribute from files in the \PUBLIC\JONES directory on a disk in drive B and from files in any subdirectories of \PUBLIC\JONES, type the following command:

attrib -r b:\public\jones\*.* /s

As a final example, suppose you want to give an associate a disk containing all files in the default directory on a disk in drive A except files with the .BAK extension. Because you can use xcopy to copy only those files marked with the archive attribute, you need to set the archive attribute for those files you want to copy. To do this, you use the following two commands to set the archive attribute for all files on drive A and then to clear the attribute for those files with the .BAK extension:

attrib +a a:*.*
attrib -a a:*.bak

Next, use the xcopy command to copy the files from the disk in drive A to the disk in drive B. The /a switch in the following command causes xcopy to copy only those files marked with the archive attribute:

xcopy a: b: /a

If you want xcopy to clear each file's archive attribute after it copies the file, use the /m switch instead of /a, as in the following example:

xcopy a: b: /m

More Information About Attrib

ntcmds00000001.gif Attrib--Notes

ntcmds00000001.gif Attrib


Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

Have you gone to church today?
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609