User forums > General (but related to Code::Blocks)
Had to delete C::B along with the projects folder
perento:
Ok so yesterday i discover Alman and Sality in my PC so i had to clean it up alot, many programs were infected including my C::B projects. I couldnt delete or reinstall it from Control Panel so i had to delete the C::B folder and clean the whole register with CCleaner along with the projects couse they were transformed in a 1b files.
I want to download a new C::B and that isnt a problem, the real problem is, can i get my projects back, is there a function that will get them back. I dont want to download a new IDE before i hear any helping comments. I did not save the projects folder in any data-holder website.
Thanks, Yuliqn.
Freem:
If your project files are transformed in 1b files, I seriously doubt that you can recover them.
For all files which were not affected, there will be no problems.
And anyway, source code is not in cbp or workspace files, so it should not be long to recreate projects, if you remember which lib they are using.
NB: if you did not made big modifications on the partition, you might be able to recover some files, if you are ready to spend some hours into learning how to use recovery tools.
perento:
--- Quote from: Freem on April 12, 2012, 03:54:07 pm ---For all files which were not affected, there will be no problems.
And anyway, source code is not in cbp or workspace files, so it should not be long to recreate projects, if you remember which lib they are using.
--- End quote ---
Can you be more specific on this one, please.
Freem:
If your ".cbp" (CodeBlocks Project)file has been affected by the virus, it will be hard to reuse it, if it have modified the structure. Cbp files uses XML so the structure might have been destroyed.
But if it was not, there is no problem, I never had problems when using a newer version of C::B on old .cbp files, and I am using it some years before version 10.08 (the stable begun to be pretty old ^^ ).
For the source code problem, it is easy to be more detailed: source code is in *.cpp/*.c/*.h/*.hpp files, not in *.cbp or *.depend or *.layout.
So, if your source files are not modified you will be able to create new project with the C::B assistant, and configure the new project to use old source files (just "add existing files"). For libraries, you have been able to configure them once, you should be able to do that twice.
perento:
Thanks for clearing things up!
I also did not use the cbp folder, i created my own Porjects folder where i saved every new project (yes, im still a noob).
If the files still cant be recovred, how and from where i can do it?
Really glad im getting such support!
Navigation
[0] Message Index
[#] Next page
Go to full version