silvanr Posted December 18, 2003 Share Posted December 18, 2003 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 ;-) Link to comment Share on other sites More sharing options...
jpm Posted December 18, 2003 Share Posted December 18, 2003 $user = EnvGet("USERNAME") at least under Windows 2000/XP Link to comment Share on other sites More sharing options...
silvanr Posted December 18, 2003 Author Share Posted December 18, 2003 Thanks, but my script is for WinNT4, Win2k AND WinXP ??? Sorry, which my English is so bad. I come from Switzerland ;-) Link to comment Share on other sites More sharing options...
Administrators Jon Posted December 18, 2003 Administrators Share Posted December 18, 2003 And NT4. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
silvanr Posted December 18, 2003 Author Share Posted December 18, 2003 ooh, Sorry. I could't test it, but now is all correctly. Thx Sorry, which my English is so bad. I come from Switzerland ;-) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now