1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Create multiple accounts at once

Discussion in 'Plesk for Windows - 8.x and Older' started by SupermanInNY, Aug 22, 2004.

  1. SupermanInNY

    SupermanInNY Guest

    Hi Y'all,

    See the link here:


    I tried to create a string to create a Client, but I get fail msgs on Spaces.

    Suppose I have a user named: John Dow.

    client.exe -c johndow -name John Dow -passwd 12345 -phone 123-12345 -fax 123-23456 -email jonhdow@domain.com -addr somwhere street -city some city -state mystate -pcode 11114 -country mycountry

    In the John Down name I have a space between teh John and the Dow.
    the client utility fails on that one.

    I get this error: Can't recognize Dow.

    I tried to put it in " " but no luck, It is likely that I've missed out on something, but I'm not sure in what.

    Can anyone tell me?

  2. SupermanInNY

    SupermanInNY Guest

    Someone from Plesk must have tried this... didn't they?

  3. jaytee

    jaytee Guest

    There is a bug in handling parameters with spaces. A workaround is to put \" around arguments with spaces, like below:

    client.exe -c johndow -name \"John Dow\" -passwd 12345 -phone 123-12345 -fax 123-23456 -email jonhdow@domain.com -addr \"somwhere street\" -city \"some city\" -state mystate -pcode 11114 -country mycountry

  4. SupermanInNY

    SupermanInNY Guest

    YES that helped and did it!
    I think it would be wise to post that workaround in the Creation Utility page itself and indicate it with an example.

    That would have saved me some time trying to figure out where am I going wrong with such a basic syntax.

    Thanks for your help with this.