in reply to
ID of current process (Windows)
Yes, your perl script will run under the same user account as your batch file. To get the username, you can use $ENV{USERDOMAIN} and $ENV{USERNAME} or Win32::LoginName()
Comment on
Re: ID of current process (Windows)
In Section
Seekers of Perl Wisdom