Recover Files From Usb Using Cmd Attrib


Recover Files from USB

Have you ever accidentally deleted an important file from your USB drive? Or maybe your USB drive got infected by a virus and you lost all your files? Whatever the reason may be, losing important files can be a frustrating experience.

Fortunately, there are ways to recover files from a USB drive using CMD (command prompt) attrib command. This article will guide you through the steps to recover your lost files.

What is CMD Attrib Command?

CMD Attrib command is a command-line tool that allows you to change the attributes of a file or folder. These attributes include read-only, hidden, system, and archive. By using CMD Attrib command, you can recover hidden or lost files from your USB drive.

Step-by-Step Guide to Recover Files from USB Using CMD Attrib

Step 1: Connect Your USB Drive to Your Computer

The first step is to connect your USB drive to your computer. Make sure that your computer recognizes your USB drive and assigns a drive letter to it.

Step 2: Open Command Prompt

Next, open Command Prompt on your computer. You can do this by pressing the Windows key + R on your keyboard and typing "cmd" in the Run dialog box. Then press Enter.

Open Command Prompt

Step 3: Navigate to the USB Drive

Once Command Prompt is open, you need to navigate to the USB drive. You can do this by typing the drive letter of your USB drive followed by a colon and pressing Enter. For example, if your USB drive is assigned the drive letter F, you need to type "F:" and press Enter.

Step 4: Run the Attrib Command

After navigating to the USB drive, you need to run the Attrib command. Type "attrib -h -r -s /s /d *.*" and press Enter.

Attrib Command

This command will unhide all hidden files on your USB drive. It will also remove the read-only and system attributes from the files. The /s and /d parameters are used to search for files in subdirectories.

Step 5: Check the Recovered Files

After running the Attrib command, you can check if your lost files are recovered. To do this, navigate to your USB drive in File Explorer and look for the recovered files. If you can't find them, you may need to use a file recovery tool to recover your files.

Conclusion

Recovering lost files from a USB drive can be a daunting task, but using CMD Attrib command can make the process easier. By following the steps outlined in this article, you can recover your lost files and avoid the frustration of losing important data.


0 Post a Comment

Posting Komentar