in reply to Cannot read files from folder on another windows server

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).

  • Comment on Re: Cannot read files from folder on another windows server

Replies are listed 'Best First'.
Re^2: Cannot read files from folder on another windows server
by mukkollu (Initiate) on Sep 16, 2011 at 13:19 UTC
    I have printed variables and the $logdir string. I was able to access the logdir that was printed from command prompt to list files.