Re: Adding user to group with # in username

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Al Dunbar [MS-MVP] (alan-no-drub-spam_at_hotmail.com)
Date: 05/26/04


Date: Tue, 25 May 2004 18:39:04 -0600


"jeepers" <anonymous@discussions.microsoft.com> wrote in message
news:164D48D5-1383-4F73-95BB-7B49329D0E4E@microsoft.com...
> We have a script that will add users to a group but if the username starts
with a # character, the script errors and the user is not added to the
group. Is there anyway of escaping the #?? at the begining of the username.

Try prefixing special characters with a "\".

/Al



Relevant Pages

  • Re: @ character in http login
    ... form for authentication inside a script. ... My only problem is my username contains the @ character (its an ...
    (comp.lang.php)
  • Re: @ character in http login
    ... form for authentication inside a script. ... My only problem is my username contains the @ character (its an ... Thank you for the pointer, it pointed me to the right solution. ... is the escape character that works for @, ...
    (comp.lang.php)
  • Re: @ character in http login
    ... form for authentication inside a script. ... My only problem is my username contains the @ character (its an ...
    (comp.lang.php)
  • @ character in http login
    ... form for authentication inside a script. ... My only problem is my username contains the @ character (its an ...
    (comp.lang.php)
  • Re: [Full-disclosure] SSH brute force blocking tool
    ... And just what on God's earth does "SOMEONE LOGGING IN WITH USERNAME SET ... TO A VALID PASSWORD ENTRY" have to do with this script. ... the classic attack is the symlink attack. ...
    (Full-Disclosure)