QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: micronoise on March 30, 2022, 04:18:40 pm

Title: Virus detected when I delete .exe files
Post by: micronoise on March 30, 2022, 04:18:40 pm
Hello. I'm new to this forum, so bear with me.
After I upgraded from QB64 1.4 to the newest version, i find that when I delete .exe files made with QB64 my antivirus (Avast!) pops up and tells me that a virus has been detected and put in quarantine. The name of the "virus" detected, located in Recycle bin,  is totally different from the one I just deleted. My QB64 folder is set to not be scanned by my antivirus program, this only happens when I delete the files, if I scan the .exe files no viruses are detected. Anybody have any input on this?
Title: Re: Virus detected when I delete .exe files
Post by: bplus on March 30, 2022, 04:38:31 pm
Welcome @micronoise that is weird!

Why would you get a warning from the Recycle bin?

Are you deleting file from Window Explorer to Recycle Bin or clearing Recycle of deleted files?
Title: Re: Virus detected when I delete .exe files
Post by: micronoise on March 30, 2022, 05:26:03 pm
I'm deleting from Explorer.
Title: Re: Virus detected when I delete .exe files
Post by: RhoSigma on March 30, 2022, 07:52:32 pm
1.) You excluded your QB64 folder from virus scanning
2.) Guess your Recycle Bin is NOT excluded

So what do you think is happening here:
As soon as your deleted exe is moved to Recycle Bin it becomes "visible" for the virus scanner. It also explains why the names are different, as windows maintains the files in the Recycle Bin with internal names (probably symbolic links).

3.) Does the same happen, if you hard delete (bypassing Recycle Bin) using SHIFT-DELETE ??
Title: Re: Virus detected when I delete .exe files
Post by: bplus on March 30, 2022, 09:07:58 pm
Ha, didn't know you could hard delete, shift + delete cool!

I was going to suggest using a QB64 program to delete the exe's with Kill, those don't go to recycle.
Title: Re: Virus detected when I delete .exe files
Post by: micronoise on March 30, 2022, 09:57:03 pm
1.) You excluded your QB64 folder from virus scanning
2.) Guess your Recycle Bin is NOT excluded

So what do you think is happening here:
As soon as your deleted exe is moved to Recycle Bin it becomes "visible" for the virus scanner. It also explains why the names are different, as windows maintains the files in the Recycle Bin with internal names (probably symbolic links).

3.) Does the same happen, if you hard delete (bypassing Recycle Bin) using SHIFT-DELETE ??

Ah, thank you! Good solution, I didn't know about SHIFT+DELETE. That did the trick!