 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
freedom
Joined: 15 Nov 2009 Posts: 4 Country: Thailand |
|
RunAs.exe bat file won't exit? |
|
how to exit your runas in bat file?
it's end up like this
thank in advance
|
|
Sun Nov 15, 2009 4:29 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
It is waiting for the launched process to complete. End the launched process, and RunAs will end too.
If you want to start the entire thing in the background, use cmd <runas> to spawn it as a separate process and continue the current batch file
|
|
Sun Nov 15, 2009 3:37 pm |
|
 |
freedom
Joined: 15 Nov 2009 Posts: 4 Country: Thailand |
|
!? |
|
All right but if in case i not need to continue the current batch file...wanna exit it just like it should after it's run(open) any program already. Isn't it?
That what exactly was i asking for how?
|
|
Mon Nov 16, 2009 6:42 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
 |
 |
cmd <runas>
exit |
For more info try cmd /?
|
|
Mon Nov 16, 2009 9:59 am |
|
 |
freedom
Joined: 15 Nov 2009 Posts: 4 Country: Thailand |
|
Need some more detail... |
|
Thank for code advise but i used to try that one before i posted second subject. It wasn't work (not exit by code). So i might be wrong.
Then give me some more detail(sample) for code.. just in case i want to open any program by your RunAs.exe by create batch file. In that batch file what code should i be using?
|
|
Tue Nov 17, 2009 7:03 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Hi. Batch file programming is beyond the scope of this support forum.
|
|
Tue Nov 17, 2009 9:35 am |
|
 |
freedom
Joined: 15 Nov 2009 Posts: 4 Country: Thailand |
|
... |
|
Great!,that's the end. thaks a lot for helpful SysOp hah...
|
|
Tue Nov 17, 2009 10:37 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Hi,
This support forum is dedicated to supporting solutions listed in the product name. We don't provide here general DOS batch programming assistance. There are many other great free support forums on the web where you can get help with batch programming.
Regards
|
|
Tue Nov 17, 2009 8:08 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|