TweetFacebookShareThis

Previous Page    Next Page

Attributes

System The system attribute is assigned to important files so they are not easily erased

Read Read-only means they can only be read by the user, and that no changes can be made to it

Hidden The hidden attribute hides the file

Archive Archive files are used to backup programs

c:\>attrib +h filename the command to hide files

c:\>attrib -h filename the command reveals the files

c:\>dir ah boot.ini opens the boot.ini file

c:\>attrib -s -h -r boot.ini the command alters the files attributes

List of switches used with the attrib command

+r this switch is used to enable the read-only file attribute

-r this switch is used to remove the read-only file attribute

+a this switch is used to enable the archive file attribute

-a this switch is used to remove the archive file attribute

+s this switch is used to enable the system file attribute

-s this switch is used to remove the system file attribute

+h this switch is used to enable the hidden file attribute

-h this switch is used to remove the hidden file attribute

/s this switch is used to apply the specified attrib options to files in the current directory and its subdirectories

/d this switch is used to apply the specified attrib options to files in the current directory

Directories

c:\>md directory name or c:\>mkdir directory name to make a new directory

Deleting Directories

c:\>rd directory name or c:\>rmdir directory name to delete a directory

Wildcards

c:\>dir *.txt This command the * asterix is used as a switch when you're looking for as in this example a text file but are unsure of the files name

c:\>dir *. This command the * asterix is used as a switch when you're looking for as in this example a directory or files without their extension

c:\>dir bill.* This command the * asterix is used as a switch when you're looking for as in this example all directory or files with the prefix of bill regardless of the extension

c:\>dir p*.txt This command the * asterix is used as a switch when you're looking for as in this example all text files with the prefix of p

Deleting files

c:\>del file name or c:\>erase to delete a file

Copy command

e:\>copy file name c:\ copies a file from the e drive to the c drive to check that the file was copied successfully type c:\>dir you can also use wildcards such as e:\>copy *.doc c:\ when your need to copy multiple files or documents

Xcopy

The xcopy command is used when you want to copy files folders and sub-directories

Move command

e:\>move file name c:\ moves a file from the e drive to the c drive, the move command is similar to the copy command but it deletes the original file

MSConfig

By typing msconfig in the run box or at the command line opens up the system configuration screen

MSConfig (officially called System Configuration in Windows Vista and Windows 7 or Microsoft System Configuration Utility in previous operating systems) is a system utility to troubleshoot the Microsoft Windows startup process. It can disable or re-enable software, device drivers and Windows services that run at startup, or change boot parameters.

Computer Studies msconfig

Useful web sites
support.microsoft.com
technet.microsoft.com
Command Prompt

Previous Page    Next Page

Recommended Books