Page 1 of 1

PureBasic's Compile Folder

Posted: Wed Oct 09, 2019 4:29 pm
by J. Baker
Avast always scans the "PureBasic_Compilation*.exe" and in return kills the debugger. If compiling multiple files, the number will change. Hence why I used the asterisk.

Now if PureBasic compiled to, "Drive\User\UserName\AppData\Local\Temp\PureBasic\", instead of just the "Temp" folder alone. I could set an exception in Avast for that folder and anything that goes in it. Instead of the executable name, which changes by number, or having to disable Avast.

Thanks! ;)

Re: PureBasic's Compile Folder

Posted: Wed Oct 09, 2019 4:36 pm
by mk-soft
It would be nice if you could set the folder completely by yourself

Re: PureBasic's Compile Folder

Posted: Wed Oct 09, 2019 4:38 pm
by Fred
Good idea for both

Re: PureBasic's Compile Folder

Posted: Wed Oct 09, 2019 4:43 pm
by J. Baker
I didn't realize that you had to restart PureBasic in order for "Create temporary executable in the source directory" to work. The "Apply" button in preferences didn't do what I expected it to. So my "Source Code" folder is now an exception in Avast. Although I do think PureBasic should still have its own folder in "Temp".

Thanks!

Re: PureBasic's Compile Folder

Posted: Wed Oct 09, 2019 4:44 pm
by Marc56us
In the meantime some AV can exlude folders by system env name (type SET in cmd.exe to see all)

%temp%\PureBasic_Compilation*.exe
(It's safer than excluding the entire temp directory)

Works in mine AV.

"Create temporary executable in the source directory" works only if you set a new name instead of default name. No need to restart IDE.
%temp% is used only if a name was not defined for source code.

:wink:

Re: PureBasic's Compile Folder

Posted: Wed Oct 09, 2019 4:56 pm
by J. Baker
Marc56us wrote: (It's safer than excluding the entire temp directory)
That would not be good. ;)

Re: PureBasic's Compile Folder

Posted: Wed Oct 09, 2019 5:52 pm
by skywalk
Fred wrote:Good idea for both
Yay, is this coming soon?

Re: PureBasic's Compile Folder

Posted: Wed Oct 09, 2019 8:27 pm
by davido
@J. Baker,
Great Idea.
+1

Re: PureBasic's Compile Folder

Posted: Wed Oct 09, 2019 10:56 pm
by J. Baker
davido wrote:@J. Baker,
Great Idea.
+1
Thanks! ;)

Re: PureBasic's Compile Folder

Posted: Thu Oct 10, 2019 6:30 pm
by Tenaja
Fred wrote:Good idea for both
+1. I hope it gets implemented.

In the meantime, I have all of my files in one subfolder (broken down further by projects) so I can exclude that one folder and all contents.