Featured Post

Complete Parts and Function of Computer Keyboard

BELOW ARE THE MOST PARTS AND FUNCTIONS OF THE COMPUTER KEYBOARD THAT COMMONLY USED. A computer keyboard is used to enter commands of...

What is ATTRIB and How to use it in Command Prompt

Another external command, the use of the Microsoft Disk Operating System (MS-DOS) or commonly called a command prompt in your computer is called ATTRIB. This external command works as an important command you can use on your computer. This works as attributes to set the files to read-only, hidden, achieved, and a system.

The general form of ATTRIB command is ATTRIB attribute file-name. See the image below.

MS-DOS Command
In the picture above, the filename is the name of the file (including drive and path specifiers) that will have its attributes changed or examined.

Windows Files And Folders
The image above is an example of how I set the example folder as my file to hide. Using the attribute and attributes + and - H, I can enable and disable the hidden file folder called example, in drive c:, see the image below:

MS-DOS

In the image above, the location of the file folder called EXAMPLE is located in drive c:, as command DIR in the command line of MS-DOS. Then in the next command line, I execute ATTRIB +H EXAMPLE to enable to hide the file. You will examine in my next command of DIR. Then I use ATTRIB -H EXAMPLE to disable to hide the file.

MS-DOS

In the image above, I'm using all the attributes ATTRIB +H +R +A +S FILENAME. Where H is hidden, R is read-only, A is achieved, and S is the system. Since I'm using + (plus) it is understood to hide the files using all the attributes. Then in my next command is I'm using the - (minus) to unhide the file.

MS-DOS

This image showed the use of the ATTRIB using the wildcard character the * (asterisk). This is very useful to hide or unhide the files with the same extension file, such as the. TXT or. DOCX or any other extension files. Using the attributes hidden, archived, read-only, and system.

Using the Attrib command of MS-DOS is very helpful in case your file is hidden like the cause of a virus and after virus scanning the file. Because there is a tendency your file will be hidden. Or you need to hide any files which are confidential.

OTHER REFERENCES:


No comments:

Post a Comment

Note: We have Zero Tolerance to Spam. Avoid Promotions with 'Links' considered as spam will be deleted immediately upon our review.

MAY YOU LIKE THIS POST!