Automate the application

Hi,

I wrote a batch file , i want to exectute this batch file a particular time everday and shutdown time. what i did, i gone

1)Everday:-Start->control panel ->Scheduled Tasks->Add Scheduled Tasks and setthe time.

2)Shutdown :- We went run command and printed mmc command and it run it. We will get Add/Remove Snaps, in this we can call batch file during shutdown time.

What i did these are manully.

My Main qauestion is,

We have 1000 users , to using our application we unable to do this one manually So, We planned to build one exe(I AM using VC++ 6.0 Version) which should do automatically?

My question is If

IS it possible to do Automatically?

If its possible , How can I procced?

Please suggest me?

Thanks in Advance,

ANAND
[854 byte] By [anandtugaon] at [2007-11-20 11:22:37]
# 1 Re: Automate the application
If I understand you correctly, yes, you can run a background process that runs all the time, and daily runs a batch file. And, maybe a better way to do it is to turn the process into an NT service, which is built into windows. A service can be paused, resumed and terminated, etc. You can also log events.

Here is a LINK (http://msdn2.microsoft.com/en-us/library/ms810429.aspx)

Here is some MFC info LINK (http://www.codeproject.com/system/cntservice.asp)
jalway at 2007-11-10 22:25:41 >