I need to verify the user ID my Perl script is running under - is this what is returned by Win32::LoginName()?
Also I have general Windows scripting question: my Perl script is being launched in a .bat file (by an automated system) - will it be run under the same ID as the .bat file is?