in reply to Using system command not able to run though the script

You probably want "...| findstr /n ...", not "...|findstr \n ...".

The first option tells 'findstr' to produce line numbers. The second "\n" will get interpreted by perl to be a newline, and probably not achieve what you intended.

        ...it is unhealthy to remain near things that are in the process of blowing up.     man page for WARP, by Larry Wall

  • Comment on Re: Using system command not able to run though the script