Please clarify what exactly you are doing that is generating the error.
It sounds like you typed those two lines into the program editor and are attempting to save it as a NEW file.
What buttons did you click on? What folder did you select to write the file into? What name did you give for the file?
Screen shots might help, preferably trimmed to just the part of the screen you are interacting with.
I find that the save as function is a little frustrating sometimes because you need to remember to select the folder. Just because you see the folder you want on the screen does not mean that it has been selected.
... View more