You can display or change the attributes for a directory/folder. To use ATTRIB with a directory,
you must explicitly
specify the directory name; you cannot use wildcards to work with directories.
For example, to hide the directory C:\SECRET, you would type the following:
ATTRIB +H C:\SECRET
The following command would affect only files, not directories:
ATTRIB +H C:*.*
The Read-only attribute for a folder is generally ignored by applications, however the Read-only
and System attributes are used by Windows Explorer to determine whether the folder is
a
special
folder, such as
My Documents, Favorites, Fonts, etc.
Setting the Read-Only attribute on a folder
can affect performance
, particularly
on shared drives
because Windows Explorer will be forced to request the Desktop.ini of every sub-folder to see if
any
special
folder settings need to be set.
"The moral sense of conscience is by far the most important.. it is the most noble of all
the attributes of man" - Charles Darwin
BOOTCFG.exe (Windows XP/2003)
Edit the Windows boot settings stored in Boot.ini, for Windows 7/2008 use
the
BCDEdit
command instead.
Syntax
BOOTCFG /addsw Add OS load options for an OS entry in boot.ini
BOOTCFG /copy Duplicate the entries for an OS instance.
BOOTCFG /dbg1394 Configure 1394
port debugging
BOOTCFG /debug Edit the debug settings for an OS.
BOOTCFG /default Specify the default OS
BOOTCFG /delete Delete an OS entry [operating systems]
section
of Boot.ini
BOOTCFG /ems Redirect the EMS console to a remote computer
(server only).
(Emergency Management Services)
BOOTCFG /list List entries in boot.ini
BOOTCFG /query Display section entries from Boot.ini
BOOTCFG /raw
Add OS load options, specified as a string
Chia sẻ với bạn bè của bạn: