MT5 build 6230 (portable mode) recursively deletes the whole %LOCALAPPDATA% folder when the disk is full - page 2

democog #:

Hello, 

Some remarks from me,

a) OP specifically mentions that the terminal was in portable mode

It has no implication. Portable mode only changes the data folder location, not the behaviour of the Terminal.

b) It seems that there is a DLL involved, as Terminal64.exe (in the first log) with MQL code alone can not write outside the MQL sandbox.. So, was that DLL there all the time, or the OP just used a DLL to write files to AppData/Local? (well, highly unlikely, as copy pasting some random files would be the same anyways).. Which also brings the possibility that the clean up may have been made from the DLL

greets 

 

There is no DLL implied and of course terminal.exe can write outside MQL sandbox, it's from MQL5 code (ex5) that you are stuck in the sandbox.
Alain Verleyen #:
It has no implication. Portable mode only changes the data folder location, not the behaviour of the Terminal. There is no DLL implied and of course terminal.exe can write outside MQL sandbox, it's from MQL5 code (ex5) that you are stuck in the sandbox.

Oh alright, I got confused, the first log file was just a summary of the attempted deletion.. Well, there is also Python involved, so I wonder what else could happen there 

greets