How To Recover Hidden Files From Memory Card Using Cmd

How To Recover Hidden Files From Memory Card Using Cmd


Memory Card

Memory cards are widely used for storing data in digital cameras, mobile phones, and other portable devices. However, sometimes files on memory cards may become hidden due to various reasons such as viruses or accidentally hiding them. In such cases, using CMD can help recover the hidden files. This article will guide you through the steps to recover hidden files from a memory card using CMD.

Step 1: Connect the Memory Card to Your Computer

The first step is to connect the memory card to your computer. You can use a card reader or connect the device that contains the memory card to your computer.

Step 2: Open CMD

Next, open CMD on your computer. You can do this by typing "CMD" in the search bar on your computer and clicking on the Command Prompt application.

CMD

Step 3: Navigate to the Memory Card

Once CMD is open, you need to navigate to the memory card. To do this, type the drive letter of the memory card followed by a colon, for example, "E:" and press Enter.

Memory Card CMD

Step 4: Unhide Hidden Files

Now you need to type the command "attrib -h -r -s /s /d *.*" in CMD and press Enter. This command will unhide all hidden files on the memory card.

Hidden Files CMD

Step 5: Check if the Hidden Files are Recovered

After executing the command, you can check if the hidden files are recovered by navigating to the memory card in Windows Explorer. You should now be able to see the hidden files on the memory card.

Step 6: Recover the Hidden Files

If the hidden files are recovered, you can now copy them to your computer or any other device.

Conclusion

If you have hidden files on your memory card and cannot see them, don't worry. Using CMD can help you recover the hidden files easily. Just follow the steps mentioned in this article, and you should be able to recover your files in no time.

How To Recover Hidden Files From Usb Using Cmd

How To Recover Hidden Files From Usb Using Cmd


CMD Icon

Have you ever encountered a situation where your important files in the USB drive suddenly disappear or become hidden? This can be quite frustrating, especially if you don't know how to recover those files. Fortunately, there is a way to recover hidden files from USB using Command Prompt (CMD), a built-in tool in Windows operating system.

What Causes USB Files to Become Hidden?

Before we learn how to recover hidden files from USB using CMD, it's important to understand why files in the USB drive become hidden in the first place. There are several reasons why this could happen:

  • A virus or malware infection can cause files to become hidden.
  • You accidentally changed the file attributes to "hidden".
  • A system error or glitch caused the files to become hidden.

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

Here's how to recover hidden files from USB using CMD:

  1. Connect your USB drive to your computer.
  2. Open Command Prompt by pressing the Windows key + R on your keyboard, type "cmd" and press Enter.
  3. Type "attrib -h -r -s /s /d *.*" (without the quotes) and press Enter. This command will unhide all files in the USB drive.
  4. Wait for the command to finish running. This may take a few minutes, depending on how many files are in the USB drive.
  5. Check if the hidden files have been recovered. Open the USB drive and see if the files are visible. If the files are still hidden, try restarting your computer and check again.
Command Prompt

Tips to Prevent Files from Becoming Hidden in USB

Here are some tips to prevent your files from becoming hidden in USB:

  • Install a good antivirus software and keep it updated.
  • Avoid plugging your USB drive into public computers or untrusted devices.
  • Always safely eject your USB drive from the computer.
  • Regularly backup your important files to prevent data loss.

Conclusion

Recovering hidden files from USB using CMD is a simple and straightforward process. By following the steps outlined above, you can easily unhide your files and access them again. Remember to take precautions to prevent your files from becoming hidden in the first place, and always keep a backup of your important data.