http://qs321.pair.com?node_id=964276


in reply to Find Running Process

useautodie qw(:all);
# single quotes here to keep the backslashes as-is my $tempfile = 'C:\Testing\TestNotepadRunning.txt'; # double quotes here to interpolate $tempfile system("TASKLIST > $tempfile");