You need to escape the '\' character. The correct path would be "D:\\Zorro\\Log\\test.txt". Also make sure that you have write access to the path.


His words are wise, his face is beard.