STARTAS.EXE
STARTAS.EXE is a free Windows command line program that executes a DOS command line under a different user account.
Switches:
Usage
STARTAS [/dir"..."] [/hide] [/profile] [/max] [/min] [/w] user password cmdline...
Switches:
/dir | Set the current working directory for the process. |
/hide | The process's window should be initially hidden. |
/profile | Load the user's HKEY_USERS registry key. |
/max | The process's window should be initially maximized. |
/min | The process's window should be initially minimized. |
/w | Wait until the process terminates. |
Example
startas /dir"c:\foo" /profile Gandalf Belloch copy foo.txt bar.txt
Notes
- The user name can optionally be in the form of "user@domain".
- Everything after the password is considered to be the command line to be launched. Do not enclose the command line in quotes.
- The command line is executed in a separate console window.
Download
Click the button below to download version 2.0 of STARTAS.EXE, released June 17th, 2017.