At 11:23 1/22/02 -0800, you wrote: >At 08:44 PM 1/21/02 -0600, Barry Aronson wrote the following: > >>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. > >To replace a single character in a batch file, use the "?". i.e., >socketlog?.txt will match any single character (a-z, A-Z, 0-9) > >So you would use move c:\socketlog?.txt c:\windows\temp to >move all the files to the temp directory. > > >-- >Gerry Boyd
Thanks Gerry! I had a temporary "brain freeze" about the variable substitution. I did not need to move the files actually all I wanted to do was to get rid of them as often as I liked. Thomas Fisher another list member and Karl Springer gave me input on this matter. I should have known better but in my defense I have not looked at nor utilized scripting for a long time and lost my familiarity with it. Thanks again. 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 =====================================================
