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

The only reasons I can think of why that might not work are:

What output do you see if you add the following to the top of your script:

warn `net share`; warn `dir \\\\Server\\e\$`; ...

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

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:23 UTC
    I did not map the network drive previously. I can list files using the below command
    dir \\Server\e$\log
    I was using the same account on both the servers.
      I have figured out a way to do this...
      @files = `dir $logdir \| grep -i abc_`;

      Unless you've got a bug in your perl, your script works. I've run your script and all I changed was the machine-name.

      Strawberry perl 5.12.3 on an XP virtual-machine, connecting back to itself.