I've been reading through this forum all morning trying to cobble together what I am trying to do and I am just not familiar enough with Windows programming to be able to write this one.
I need the file to cycle through the html files in a directory, chop off all the text before the first underscore (_), create a folder by that name if it does not exist, then move all the files in the directory with that same beginning to that folder.
Format of files:
As COMPNAME will vary, I need it to be parsed on the occurrence of the first underscore.
So I will start with a list of files like:
After the file, I should have:
COMP1 (the folder)
Any help is much appreciated!