Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
SaveToFile() seems to have a bug.
If the argument only contains one backslash, it verifies OK.
However, just adding another backslash to the path results in "Error 2 malformed string".
- SaveToFile("C:\filename.txt") validates OK
- SaveToFile("C:\file\name.txt") gives the error
I did not imagine that path strings should also conform to the scape character convention.
Changed each "\" to "\\" and the erratic behavior ceased to occur.