Changing File Attributes with the ATTRIB Command

|
Rather Have Fast and Secure Remote
Control?
|
Although the XP GUI allows you to change attributes from the properties of a file or folder, the command line ATTRIB tool is a much faster and more flexible alternative. One benefit of this tool is that it allows you to configure the System attributes for a file, which isn’t possible via the graphical interface. This is useful because when a file or folder has both its Hidden and System attributes set, the file is completely hidden in the Windows Explorer interface by default.
To view the attributes associated with a file or folder from the command line, type ATTRIB followed by the file name. To add attributes to a file, use the ATTRIB command followed by +R +H +A or +S (and then the path/filename) to add the Read-only, Hidden, Archive, and System attributes to the file respectively. The –R –H –A and –S switches remove these attributes from the file.
Written by Dan DiNicolo - Visit WebsiteNext post in Windows Commands:
Replacing Windows XP Files with the EXPAND Command
Previous post in Windows Commands:
Copying Floppy Disks with the DISKCOPY Command
All Tutorials by Category:
- CCDA Study Guide
- CCNA Study Guide Chapter 01
- CCNA Study Guide Chapter 02
- CCNA Study Guide Chapter 03
- CCNA Study Guide Chapter 04
- CCNA Study Guide Chapter 05
- CCNA Study Guide Chapter 06
- CCNA Study Guide Chapter 07
- CCNA Study Guide Chapter 08
- CCNA Study Guide Chapter 09
- CCNA Study Guide Chapter 10
- CCNA Study Guide Chapter 11
- CCNA Study Guide Chapter 12
- Cognos
- Computer Hardware
A
C
D
E
F
G
H
I
L
M
N
Entire site Copyright © 1999-2007 2000Trainers.com, all rights reserved.
Content on this site may not be copied or reproduced in any way without permission.


