If in doubt, print your variables.
You're using double-quotes when making $logdir and I'm guessing $\ is being treated as a variable (it's line-ending or record-separator or some such iirc).
In reply to Re: Cannot read files from folder on another windows server
by Anonymous Monk
in thread Cannot read files from folder on another windows server
by mukkollu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |