Don’t worry! If you do not have a data backup, you also could recover your program folders back for free at the aid of a drive recovery tool. It was found in this forum as my pen drive was mistakenly formatted and surprisingly recovered all my inner data back. So, it is really worth trying. Tips: You should learn a lesion to be more careful before you decide to delete your data.
You also need to keep a regular data backup in the future.