Restore Any File

Restore Any File 
Hello everyone,
This is a post for "Restoring any file which might have gotten corrupted in a deleting/recovering/a-copy process"

Continue reading for more info about the amaizing post ahead,

Restore Files ,
Coding Follows,

@echo off
title Restore Files
color 1f
echo Enter drive name in which file is exist
set /p drive=
echo Enter folder name
set /p folder=
cd /%folder%
echo Enter file name 
set /p name=
attrib -h -r -s /s /d %drive%:\%name%.*
echo Done


NOTE:- If you are using windows 8 or below then run this code as administrator mode.