Dumpy Dooby
04-07-2008, 01:37 PM
I fucked up a batch script and wound up deleting everything on my drive. The folder structure is still intact, but the files are all deleted. I have not written anything to the drive at all since this happened. It's a USB drive and I disconnected it immediately once I realized what I did.
Normally when files are recovered from a hard drive, you gotta select a different drive as your target for recovery so that you don't overwrite any data. Are there any ways to recover the data without having to do that? My drive is a 500GB external hard drive and has ~440GB worth of files that need to be recovered. I don't have anything else that could store those.
I would imagine that it would be possible for a program to index the drive and use the blank space to recover any files, as long as it has enough free space to temporarily store any file that might be recovered.
Any help would be greatly appreciated.
XOXO :heart:
PS-
In case you're wondering, my batch script had a variable set as a static path with a slash, then another variable with a relative path. So it looked something like ( %DrivePath%\%RelativePath % ). Well, when my script was calling the different functions (Yes, I use functions in batch files. Go me.), one of my conditional statements was messed up and the two variables became empty. Thus, my DEL command was set to "\". Final summation: Don't fucking run a god damned delete script unless you're absolutely sure it won't delete the wrong fucking files. Ugh!
Normally when files are recovered from a hard drive, you gotta select a different drive as your target for recovery so that you don't overwrite any data. Are there any ways to recover the data without having to do that? My drive is a 500GB external hard drive and has ~440GB worth of files that need to be recovered. I don't have anything else that could store those.
I would imagine that it would be possible for a program to index the drive and use the blank space to recover any files, as long as it has enough free space to temporarily store any file that might be recovered.
Any help would be greatly appreciated.
XOXO :heart:
PS-
In case you're wondering, my batch script had a variable set as a static path with a slash, then another variable with a relative path. So it looked something like ( %DrivePath%\%RelativePath % ). Well, when my script was calling the different functions (Yes, I use functions in batch files. Go me.), one of my conditional statements was messed up and the two variables became empty. Thus, my DEL command was set to "\". Final summation: Don't fucking run a god damned delete script unless you're absolutely sure it won't delete the wrong fucking files. Ugh!