SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
RunAs.exe bat file won't exit?

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
RunAs.exe bat file won't exit?
Author Message
freedom



Joined: 15 Nov 2009
Posts: 4
Country: Thailand

Post RunAs.exe bat file won't exit? Reply with quote
how to exit your runas in bat file?
it's end up like this



thank in advance
Sun Nov 15, 2009 4:29 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
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 View user's profile Send private message
freedom



Joined: 15 Nov 2009
Posts: 4
Country: Thailand

Post !? Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Code:
cmd <runas>
exit


For more info try cmd /?
Mon Nov 16, 2009 9:59 am View user's profile Send private message
freedom



Joined: 15 Nov 2009
Posts: 4
Country: Thailand

Post Need some more detail... Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Hi. Batch file programming is beyond the scope of this support forum.
Tue Nov 17, 2009 9:35 am View user's profile Send private message
freedom



Joined: 15 Nov 2009
Posts: 4
Country: Thailand

Post ... Reply with quote
Great!,that's the end. thaks a lot for helpful SysOp hah...
Tue Nov 17, 2009 10:37 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
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 View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.