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

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.

Replies are listed 'Best First'.
Re^3: Cannot read files from folder on another windows server
by mukkollu (Initiate) on Sep 16, 2011 at 13:24 UTC
    I have figured out a way to do this...
    @files = `dir $logdir \| grep -i abc_`;
Re^3: Cannot read files from folder on another windows server
by Anonymous Monk on Sep 16, 2011 at 14:12 UTC

    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.