I was programming in C++ and the .exe file got quarantined when I compiled the program. Bitdefender said it was infected with the trojan Gen:Variant.Razy.585548 this is possibly because my code was overwriting a .map file (that's all I can think that I changed since the last successful compile).
After compiling the code again (this should recreate the .exe file), it gave the linking error LNK1104 which usually occurs when the .exe file is open in the debugger. I tried recovering the file from quarantine however it disappeared shortly after I recovered it and the linking error persisted.
I then realised the code could be compiled as long as the .exe file wasn't sent to the directory that it had been first quarantined from. I assumed that Bitdefender was blocking the path of the file (my .exe) that it detected as malware, so that the "malicious" file couldn't be recreated. I checked this by trying to move the new .exe file back into the original directory and sure enough got an error saying the drive didn't exist.
I've looked through the setting in the Bitdefender app, I have the Internet Security package, and couldn't find how to unblock the path. I know I could use a different folder name but I don't want to have to rename it every time it does this.
If anyone can help with this, I would be grateful.