title: In a windows batch file how do I find out what credentials I am running under?
body: <p>I want to detect that my batch file is running under a given domain's accounts (i.e. when my batch file is executed using <code>runas</code>).   How do I do that?</p>