Upper case USER_NAME?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
gmilke
Newbie
Posts: 4
Joined: Thu Oct 30, 2003 4:52 pm

Upper case USER_NAME?

Post by gmilke » Tue Dec 09, 2003 4:03 pm

Help says the USER_NAME is upper case.

"The above variables store their values in upper case.

USER_NAME Current Username"

When I run this code it is lower case? What am I doing wrong?

"MessageModal>USER_NAME"

Thanks,
Gary

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue Dec 09, 2003 4:26 pm

OS_VER ............. Operating System
WIN_DIR .......................Windows Directory Path
SYS_DIR ....................... Windows System Directory Path
TEMP_DIR ..................... Windows Temp Directory Path

The above variables store their values in upper case.

USER_NAME ................... Current Username
COMPUTER_NAME ........... Computer Name
A close reading of the HELP file shows that USER_NAME is not in the group of variables listed above the statement.

And a test of those listed above, does show that those four do display in UPPER CASE.

Result: No problem, just a slight misread of the help file.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

gmilke
Newbie
Posts: 4
Joined: Thu Oct 30, 2003 4:52 pm

Post by gmilke » Tue Dec 09, 2003 4:29 pm

Well, I guess I need to go back to reading school.

I wrote some code that uses VBscript to convert to upper case. I am good.

Thanks for the quick reply!
Gary

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts