Tasklist command that is used to view task on a remote system is not working for me through perl script, however the same command works if i use it directly on windows command prompt.
open (OLDOUT, ">&STDOUT"); open (OLDERR, ">&STDERR"); open (STDOUT, ">c:\\Temp\\STDOut.txt") or die "Can't open STDOUT: $!"; open (STDERR, ">C:\\Temp\\STDERR.txt") or die "Can't open STDERR: $!"; system("tasklist /S 10.9.79.251 /U sagarkha /P ****** ");
In reply to tasklist command not working by sagarkha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |