File Write always returns !36

Hi Folks,

I’m trying to write to a file using an ALFAT. The initialize and open file commands both return !00\n; so everything appears good. However when I try to write anything to the opened file, I get a !36\n. Any ideas? I’m not sure why I would get a ‘Handle does not open’ error when writing to an already opened handle.

Thanks

Jec

Nevermind, I was opening the file on a different handle than I was writing to. I knew it was something simple.

1 Like

You have to check the data you sent.

e.g O1W>M:\TEST.TXT

If you are using C, you should double check ""x2 (5ch) .

e.g. printf(“O1W>M:\TEST.TXT”)