Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

trouble with start /runas command

Jul
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.
 
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.
 
Back
Top