So i've got a giant list of files that all have a key number in them (1818 for example) and there's four files in the directory that all have that key number only ONCE somehwere in the filename. I'm trying to grab those three files and then create a new directory with that key number as the name and then move the four files into that directory.
I've also already got a list of the key numbers in my program, so thats good
I've kinda got an idea how to go about it...but I'd like a little direction to start with.