Hello All,
We have the below line of perl code working on Win 2003 server.
$output = `tlist iwperl.exe | egrep -i iwperl`;
$output = `tlist iwperl.exe*32 | egrep -i iwperl*32`;
We moved to Win 2008 server and the commands are not working. I tried to replace like below and still does not work.
$output = `tasklist /svc iwperl.exe | egrep -i iwperl`;
$output = `tasklist /svc iwperl.exe*32 | egrep -i iwperl*32`;
ERROR: Invalid argument/option - 'iwperl.exe*32'.
Type "TASKLIST /?" for usage.
Do any one of you can help us?