>>One case where parsing the result from SYS(0) a bit problematic is when someone puts # in the computer name and/or user name (IIRC, # is allowed within computer name in Win95 and Win98 but disallowed from Win2K onwards). I ran into this problem once before at a customer site where the computer names had # in them.
>
>Never saw this, but is it possible to have [ # ] in computer name? I mean space+#+space.
Then you may better try
Re: How to get user name from the operating system Thread #
717731 Message #
717744
If it's not broken, fix it until it is.
My Blog