From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,e6340deed4b219ea,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.183.16 with SMTP id ce16mr4824703qab.8.1354904059558; Fri, 07 Dec 2012 10:14:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.58.238 with SMTP id u14mr1373385qeq.13.1354904059487; Fri, 07 Dec 2012 10:14:19 -0800 (PST) Path: gf5ni48613681qab.0!nntp.google.com!c8no1944405qao.0!postnews.google.com!r20g2000yql.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 7 Dec 2012 10:14:19 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: r20g2000yql.googlegroups.com; posting-host=87.209.50.192; posting-account=Od-2dQoAAAB0Ax1n9anxOF811WhPXsCz NNTP-Posting-Host: 87.209.50.192 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E),gzip(gfe) Message-ID: <5d3aff8d-529b-49ce-b583-525201c2b868@r20g2000yql.googlegroups.com> Subject: platform specific question From: Hans Vlems Injection-Date: Fri, 07 Dec 2012 18:14:19 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-12-07T10:14:19-08:00 List-Id: C programs have easy access to commandline arguments and "environment variables". Is there a way to interpret the environment variables on a Windows (2008 Server R2) platform? What I'm looking for is the usercode that executes the program. Some programs offer different functionality which is now derived from a table that is organised by username/usercode. Hans