Code:
Break On
SHELL '%comspec% /c net user john 12345 /add >nul 2>nul'
If @ERROR
'Error creating account: ' + @ERROR +' '+@SERROR ?
Else
'Account created successfully: ' + @ERROR +' '+@SERROR ?
EndIf




Weird though as it gives a rather odd error of 2 if the account already exists.