thanks for the answer!
That is not what I wanted to do in this case - I was just looking for a way to delete the logfile created by my own "backup_code" - on a one-off basis, without turning it off - logging is necessary.
However - is there any kind of documentation available, either here or as a QlikView_book, on where the log_files are stored and which logfiles there and where to look if something goes wrong?
I have no training as admin - and chances are slim that I'm going to get any - but it does look like I will have to take on the tasks of QlikView_admin in addition to being developer and designer.
I have the book "QlikView server and publisher" by packtpub. That might be quite useful - I haven't read it in detail yet as I don't have Server access - but now we have relocated all the log_files, maybe I can at least get access to those.
If you are looking to just delete files in script you can call cmd.exe, but obviously use with caution when deleting and you won't be able to delete the log of the document reloading this script.
LET cmdExe = 'cmd.exe /c del ' & chr(34) & '$(vbs)' & chr(34);
... where vbs is a variable of the file with file path to delete and allows wildcards so *.qvw.log permitted.
You will need to give the script privileges to Execute External Programs under Settings below the load script.
I don't think this will work. The reason is that the log is written last after the script has finished running. You could build an supporting task to delete all the log files after all the jobs are finished. If you are trying to delete them when the task is running, I don't understand why you don't turn the logging off.