Computing.Net > Forums > Windows NT > Batch scripting

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch scripting

Reply to Message Icon

Name: Gurps
Date: May 13, 2005 at 05:13:19 Pacific
OS: WIN NT4
CPU/Ram: pent 4
Comment:

I have no experience of writing batch files in DOS. I have a bunch of log files on a NT directory. The files are named in the following format 'MIS_ddmmyy.log' where ddmmyy identifies the create data of the file.

I need a script that will execute (manually) on sunday night and will pick up the files created in the last 7 days (so it will be M, T, W, T, F, S, S) and execute the following command for each FILENAME found:

sqlldr dbname/dbpassword control=mycontrol.ctl data=FILENAME

Can anyone help?



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Windows NT CDROM.SYS file NT4 ws unable to join dom...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Batch scripting

Batch Script query www.computing.net/answers/windows-nt/batch-script-query/22056.html

Batch Script to make a directory that has the today's date as a name www.computing.net/answers/windows-nt/batch-script-to-make-a-directory-that-has-the-todays-date-as-a-name/3396.html

batch script to launch a persistent app www.computing.net/answers/windows-nt/batch-script-to-launch-a-persistent-app/11156.html