I want to move all files in recycle bin folder to original location or desired location using command prompt.
How can I do this?
I believe that the answer is listed at the following site:
http://thetechtrickz.blogspot.com/2011/12/restore-files-from-recycle-bin-through.html
In short:
Step 6: Type cd $Recycle.Bin in Win7 or cd RECYCLER in WinXP and press enter.
Step 7: Type cd and press tab. You'll see that the line is filled with a directory name like this "S-1-5-21-564594560-2944949298-4040108220-1000". Press enter.
Step 8: Type dir/a to see all the files including hidden files in that directory. The file you want to recover will also be there. But the name of the file may be changed.
Step 9: Here I deleted a system file named "BOOTSECT.BAK". Its been renamed as "$I1R8ZP3.BAK"
Step 10: Type copy (The Name of the File) (The location) For eg., type copy $I1R8ZP3.BAK C:\
Step 11: Type cd../.. to go to the root directory.
Step 12: Type dir and enter. You'll see the file you copied from the Recycle Bin directory there.
Step 13: Type ren (The Name of the File) (The Name You Want) For eg., type ren $I1R8ZP3.BAK BOOTSECT.BAK
Note: The above steps and images are taken directly from the blog http://thetechtrickz.blogspot.com/2011/12/restore-files-from-recycle-bin-through.html