Topics
Loading...
Thursday, March 21, 2013

Restore Files From Recycle Bin with Command Prompt

3:49 pm



As most of us know Recycle Bin is a Windows Dumper used to hold deleted files or folders that are no more in use  ..Recycle bin has an option that can allow users to restore there files/folders that you accidental delete .But lets say you accidental delete a system file . If its a crucial OS file you system might not be able to boot up correctly .  Is either you restore your computer or retrieve back the file from recycle bin . If you don't have a restore disk then the other solution will be restoring back the file from the recycle bin .

The Recycle bin can be accessed through MS-DOS [ Microsoft Disk Operating System ] .. Through This you can have easy access to the Recycling center where the deleted files can be retrieved located under the directory "RECYCLER" in Window XP and "$Recycle.Bin" in Windows 7.

Steps To restore the files :

        1: To get into MS-DOS just when you press the power button and the computer starts booting              quickly press F8
            Navigate to  "Safe Mode with Command Prompt". Option
            Then Press Enter

                                              

        2: If asked to Select an Operating To start [ Depends on whether you have 2 Operating systems installed]
            Then Select You OS and Press Enter . .

        3: MS DOS window will open with the default directory
       
                 C:\Users\(Your User Name)\ in Windows 7  or
                    C:\Documents and Settings\(Your User Name)\ in Windows XP 
                 
                


        4: Type cd../.. and press enter.

        5: Type cd $Recycle.Bin in Win7 or cd RECYCLER in WinXP then Press Enter.

        6:  Type dir/a to see all the files including hidden files in that directory.
             If done correctly the file that you wish to recover will also be listed.
             But you may notice the name of the files has been changed
          
              Look at this example the user deleted the file "BOOTSECT.BAK"
              and it has been changed to "$I1R8ZP3.BAK"

                                          
 
         7: Now when you see the file
             type copy (File name) (Directory location )
             Eg., type copy $I1R8ZP3.BAK C:\
                     
         8: Now when you return to the root directory C:\ you will see the file has been copiedd back to              to the root directory
                                                   
                                                    

         9: Then to rename the file
              Type ren ( File Name ) ( Previous Name )
               eg., type ren $I1R8ZP3.BAK BOOTSECT.BAK

          
 There you will have your file restored .. restore your computer and will hopeful boot up properly

 
                     
               

0 comments:

Post a Comment

 
Toggle Footer