All Forums >> [Scripting] >> WSH & Client Side VBScript >> Parse files for data, then copy files Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Hi everyone! I'm not very good at scripting (and that is giving me credit), and was wondering if you could help me out. I need a script that
Parses a file (it's a text file, but it doesn't have a .txt extenstion) for a particular string in the format
99-9999
(2 numbers, hyphen, 4 numbers) and then copy then file to a folder on a different computer with the name 99-9999 or whatever the numbers parsed turn out to be. If the folder doesn't exist, it needs to be created.
This then needs to be repeated for all other files in the folder.
I know it's asking a lot, but I really appreciate anything you guys can provide me with. Thanks in advance.