Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows programming question???

Status
Not open for further replies.

iao

Programmer
Feb 23, 2001
111
US
I don't know if this is the proper forum to ask this question. If not, I apologize. I am somewhat new to the programming world. I have been using ColdFusion, Javascript, and SQL for about the past year.

Here is my question: I have a application installed that monitors the activity on my website. Each week, my ISP creates a new log file which I use for the monitoring. I manually copy and load this new log file onto my machine, and plug this into the application.

What I would like to do is to create some kind of program (batch program???) that will automatically do this process for me each week. I have no idea where to begin, or if this is even possible. I have no experience writing batch programs (don't really even know what they are).

If anyone has any ideas on where I might want to start this process, could you please let me know and start me in the right direction?

Thanks!
 
Why not use the Windows Task Scheduler to run your prog at the desired interval? Nate Gagne
nathan.gagne@verizon.net

Like my post? Let me know it was helpful!
 
Hi ngagne

Thanks for your response! Ok, I must be dumb, but either I didn't fully understand your answer or I didn't make myself clear enough in my post.

I don't have a program to run. I need to create a program. That was what I wanted to know how to do in Windows (if there is a way).

For example: the new log file created is usually called log0. I rename this to log_11.14.01 (where 11.14.01 is the current date) and then copy this file into my log directory which is accessed by the internet-monitoring application. What I want to know is if there is a way to create some kind of script or program which will do all this for me. I am just trying to figure out where I would start.

I hope I am making sense. If you have any ideas, please let me know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top