Solution
The file reference is not being properly created, so the error will be reported once the script tries to write to the file.
This can happen if you are trying to create the file in the root of the
C:\ drive, without having the proper permissions to do so. In this case you can avoid the error by:
- Launching DIAdem as administrator and then execute the script.
- Change the location of the file elsewhere where your user has permissions to write, for example to your user's Desktop or Documents folder.