Search found 4 matches
- 21 Jul 2010 10:38
- Forum: DOS Batch Forum
- Topic: RUNAS with wait for process exit.
- Replies: 7
- Views: 11999
Re: RUNAS with wait for process exit.
aGerman, no.. equivalently
- 21 Jul 2010 10:16
- Forum: DOS Batch Forum
- Topic: RUNAS with wait for process exit.
- Replies: 7
- Views: 11999
Re: RUNAS with wait for process exit.
I tried that. Ofcourse RUNAS was return syntax error.
- 21 Jul 2010 09:50
- Forum: DOS Batch Forum
- Topic: RUNAS with wait for process exit.
- Replies: 7
- Views: 11999
Re: RUNAS with wait for process exit.
runas /user:test "start /wait calc.exe"
File not found: "start /wait calc.exe"
File not found: "start /wait calc.exe"
- 21 Jul 2010 01:24
- Forum: DOS Batch Forum
- Topic: RUNAS with wait for process exit.
- Replies: 7
- Views: 11999
RUNAS with wait for process exit.
Need to start process ("runas") with waiting for results (like "CALL" or "start /wait").. But, how do that? Thx..
Now use this construction:
1:
FOR "skip=3 tokens=1" %%i IN ('tasklist') DO IF %%i equ %wayted_process% GOTO 1
%-) have a simplest solve?
Now use this construction:
1:
FOR "skip=3 tokens=1" %%i IN ('tasklist') DO IF %%i equ %wayted_process% GOTO 1
%-) have a simplest solve?