Hello Listers!  I have been using a "Spam Filtering Program" called 
"MailWasher" from a small developer in Australia called Nick Bolton.  His 
program has not finished yet and in the progressive beta editions of it, 
log files are created for diagnostics and illumination for the 
developer.  Well the files are created whenever the program checks for the 
mail.  If you configure your email to be checked every 9 minutes like 
myself you will discover lots of log files created in the root directory 
and really fills up fast.

My intention is to create a script to move those files to the 
C:\windows\temp folder and let the Maintenance Wizard execute the batch 
script a few times a day.  My problem is as follows:  the files are called 
socketlogn.txt.  The "n" is equal to a consequent number with no limit to 
the flow.  So I do not know what to call the files if they are all named 
differently based on number.

Does anyone know what I could possibly do.  Using Win98SE and all I want is 
to create a simple batch file something like this:  echo off

                                                           move 
c:\socketlogn.txt c:\windows\temp
                                                           cd\windows
                                                           c:\windows
                                                            cd temp
                                                           c:\windows\temp
                                                           del 
c:\windows\temp\socketlogn.txt\*.*
                                                            exit

I was going to save it as a .bat and move the script to C:\windows\program 
files and select that file as the one I want the Maintenance Wizard to 
run.  It really is not complicated, but I NEED to know what to call the 
socketlogn.txt file so that ALL those type files move to the windows temp 
folder.

My major weakness in computing is scripting, I know what i want to do but 
have a hard time realizing the activity.

I know that of all of you out there,  there must be someone who can unravel 
this pesky mess.

Thank you!

Barry ~ [EMAIL PROTECTED]
============= PCWorks Mailing List =================
Don't see your post? Check our posting guidelines &
make sure you've followed proper posting procedures,
http://pcworkers.com/rules.htm
Contact list owner <[EMAIL PROTECTED]>
Unsubscribing and other changes: http://pcworkers.com
=====================================================

Reply via email to