trouble with start /runas command

Jul 16, 2008
1
0
Hi,
I am using tcc/le 9.02.152 and I cannot understand how to use start /runas command.
Here's what I want to do

start /runas "lamia domestica" mypassword c:\test\test.exe

Unfortunatelly I don't remember the exact error message but it was something about "Cannot find user name."

I tried to specify my computer as logon domain:

start /runas "lamia domestica@uriel" mypassword c:\test\test.exe

but got the same error.
The problem is that the user name has a space. When I try with a user name without a space, it works fine.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
Here's what I want to do

start /runas "lamia domestica" mypassword c:\test\test.exe

Unfortunatelly I don't remember the exact error message but it was something about "Cannot find user name."

The problem is that the user name has a space. When I try with a user name without a space, it works fine.

I don't believe that usernames containing spaces have ever been supported. It would be a nice improvement for a future update.