Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: How To Close (But Not Force Close) Program Automatically On A Schedule

21 Jul 2013   #1

windows 7
 
 
How To Close (But Not Force Close) Program Automatically On A Schedule

not sure if it's possible in Task Scheduler but i really want it to work. Basically I know how to automatically start program in Task Scheduler and how to also force close it. If we want to force close it we just create a .bat file with text like
Code:
TASKKILL /F /IM "nameofprogram.exe"
and schedule to run such file in specific time (for example 2.00.05 PM)

but this doesnt solve my issue because I need to automatically close my program without actually force close it. The above solution only force close the program and it's not what I want. I want to "properly" shut down the app, something like we click "X" in the program manually. Is that possible?

The problem is because I trade in MT4 automatically. if I use the above solution to close it on schedule, when it reopen, any change made to the object list in the MT4 would be deleted as if nothing ever added there. That's why I need a solution to automatically close my MT4 on schedule but not force close it. Any idea guys?

My System SpecsSystem Spec
.

21 Jul 2013   #2

windows 7
 
 

hi guys, after try to find more solution on Google apparently there's a very easy fix!

I should have not used the "/F". it force close the program!

should just go directly TASKILL /IM "nameofprogram.exe"

LOL
My System SpecsSystem Spec
Reply

 How To Close (But Not Force Close) Program Automatically On A Schedule





Thread Tools



Similar help and support threads for2: How To Close (But Not Force Close) Program Automatically On A Schedule
Thread Forum
Audio Won't close In SyncUp when I close video file Music, Pictures & Video
Chrome.exe force close could not be completed. Browsers & Mail
Is normal start menu close automatically after 1 min? General Discussion
Closing of WLM forces the program to close Software
Waiting for background program to close General Discussion
Close program sound for no reason Sound & Audio
Program to automatically close and open other programs? Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:11 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33