I accidentally wiped my entire drive because I fed my program the string: C:/Program Files/ProgramName/program.exe Without quotation marks and my program interpreted the space as a new command. It tried to delete C:/Program, and then the parent directory, C:/. I actually posted a “rant” on here asking how to recover data if you want to dig through my history.

*Edit* Actually, no, I must have deleted the rant asking about data recovery. My bad.

  • 2
    Well this is embarrassing... :)
  • 1
  • 2
    @CluelessBanana Yeah, unfortunately. ;(
  • 1
    I remember when i tried to make installer for my program. I set the path to be the program files folder and i included the files in single folder. It was working after instalation but when i tried to uninstal it, it tried to delete the whole program files folder..

    I was supposed to set the path with new folder that is created by instalator. Also i shouldnt have included the files within the folder ...
  • 2
    @Gregozor2121 Basically what happened with me, except one more level up. -_-
Add Comment