Created
July 18, 2015 11:10
-
-
Save cecekpawon/eb4e0edeffcaca3de895 to your computer and use it in GitHub Desktop.
Recover flashdrive files attributes - http://blog.thrsh.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set /p Drive=Enter drive letter + colon (eg. E:) | |
if EXIST "%Drive%" ( | |
attrib -r -s -h /s /d "%Drive%\*.*" | |
set "Drive=" | |
echo "Done :)" | |
) else ( | |
echo "Error: Drive not exists!" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment