Articles > Software
If you have used PC Inspector - File Recovery 4.x on a bad hard drive to recovery data like I have you will notice a very large flaw. The skip bad sectors option does not function right and it requires you to click ignore everytime the program runs into a bad sector. This prevents allowing the program to run unattend while it performs some very long tasks of recovering data. I have written a very simple script to help with this issue. This script will click ignore automatically and forever (unless you kill it). When you want the script to stop, simply kill wscript.exe from your task manager window. See script below:
File Recovery Helper Script
Last Updated: 2/15/10If you have used PC Inspector - File Recovery 4.x on a bad hard drive to recovery data like I have you will notice a very large flaw. The skip bad sectors option does not function right and it requires you to click ignore everytime the program runs into a bad sector. This prevents allowing the program to run unattend while it performs some very long tasks of recovering data. I have written a very simple script to help with this issue. This script will click ignore automatically and forever (unless you kill it). When you want the script to stop, simply kill wscript.exe from your task manager window. See script below:
on error resume next
Set WshShell = CreateObject("WScript.Shell")
While(1)
While(WshShell.AppActivate("NT_read error") = true)
WshShell.SendKeys("I")
Wend
Wend
Be sure to copy the block of code above into a text file and save it as a VBS file (.vbs).Set WshShell = CreateObject("WScript.Shell")
While(1)
While(WshShell.AppActivate("NT_read error") = true)
WshShell.SendKeys("I")
Wend
Wend
Keywords: vbs file recovery script data filerecovery