Jump to content
Sign in to follow this  
silvanr

Miss: variable eg @USER

Recommended Posts

silvanr

Hi!

How I can find out the username?

(eg: @USER or @USERNAME)

Can anyone help me?

thx Silvan


Sorry, which my English is so bad. I come from Switzerland ;-)

Share this post


Link to post
Share on other sites
jpm

$user = EnvGet("USERNAME") at least under Windows 2000/XP

Share this post


Link to post
Share on other sites
silvanr

Thanks, but my script is for WinNT4, Win2k AND WinXP

???


Sorry, which my English is so bad. I come from Switzerland ;-)

Share this post


Link to post
Share on other sites
silvanr

ooh, Sorry.

I could't test it, but now is all correctly.

Thx


Sorry, which my English is so bad. I come from Switzerland ;-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.