Couple of questions actually,
writebytes("c:/testfile.txt","hello") in Maple 2016 doesn't create a file to write the bytes to unless the file already exists. In Maple 12 if the file didn't already exist Maple would create it. Is this a programming change for writebytes?
After writing to the file, if you open the file with notepad (or any text editor) there is nothing in that file. It is only once you write in maple ..
.. that you can then see something in the edited file with an external editor.
This is probably connected but how do get Maple to relinquish command of the file I've used writebytes on? The error message I get is "The process cannot access the file because it is being used by another process" I would guess once Maple releases command on that file all data written to it will be visible regardless of what filepos I'm at.