thank you for your reply, I solved my issue downgrading the .net version (3.5 is still good, 4.0 don't).
But in your answer there is a thing I need to understand. You say that I shouldn't execute the following batch file
emw32 -j"temperature.jpg",600,400,75 -rtoday@00:00-1month,today@00:00
emw32 -c"temperature.csv" -rtoday@00:00-1month,today@00:00
ftp -n -s:upload.ftp
copy temperature.jpg "C:\Pico Technology\EnviroMon\reports\jpg\%s%-temperature.jpg"
copy temperature.csv "C:\Pico Technology\EnviroMon\reports\csv\%s%-temperature.csv"
if there is already an instance of emw32.exe running.
I need the batch only to schedule data-extraction operation, but if you confirm then I should give a supplementary documentation to my customer to warn him to shut down the GUI before the batch starts