trouble with start /runas command

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Jul 16, 2008
1
0
#1
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
3,384
39
Albuquerque, NM
prospero.unm.edu
#2
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.