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 ============= 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 =====================================================
