- Thread Author
- #1
Hello.
I'd like to run a application with other user name (on console)
I used
and execute in the new console:
But this is a bit .. how I can say it... to much work ^^
I would like create a link on desktop, who do the same. Just click.. enter password and firefox start.
I tried this
But that not work. The command need "-Quotation mark
The problem is, firefox is on a folder with spaces. So I need " already for this.
How I can enter this command in one line? Is there any trick?
I'd like to run a application with other user name (on console)
I used
Code:
runas /user:test cmd
Code:
"C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P
But this is a bit .. how I can say it... to much work ^^
I would like create a link on desktop, who do the same. Just click.. enter password and firefox start.
I tried this
Code:
C:\Windows\System32\runas.exe /user:test "C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P
But that not work. The command need "-Quotation mark
The problem is, firefox is on a folder with spaces. So I need " already for this.
How I can enter this command in one line? Is there any trick?