SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Closing Window after running dos job

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Closing Window after running dos job
Author Message
Maria Viana



Joined: 13 Oct 1999
Posts: 1

Post Closing Window after running dos job Reply with quote

How do you close a window after running a dos bat file? I typed exit at the end of the file, but nothing happened. Is there any other way to do this?

Wed Oct 13, 1999 1:25 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7841

Post Re: Closing Window after running dos job Reply with quote

The following paragraph was taken from FAQ section of the help file:
Q: I have scheduled a job that runs DOS BAT file. After the .BAT file completes, the DOS window remains open. How can I avoid it?
A: You have two options:

a. Run this BAT file manually. Select Properties from the window's control menu. Check Close on Exit option.
b. Specify the command line for this program as CMD.EXE /c C:\MYPATH\MYFILE.BAT. The /c tells the system CMD.EXE command to exit after processing the MYFILE.BAT file. For more help on the CMD command, type CMD /? at the command prompt. On Windows 95/98 use command COMMAND instead of CMD.

: How do you close a window after running a dos bat file? I typed exit at the
: end of the file, but nothing happened. Is there any other way to do this?

Wed Oct 13, 1999 2:11 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.