|Thanks for the reply Shaka. This is getting really close to what I want. I tested out and it's working, but let me make it a bit clearer since I think i forgot to mention something.|
The file names have a word in front such as test for example:
The folder names have only the numbers in the end:
The code works pretty well, but is possible not to create its own folder since the folder already exists in the directory? I tried taking the "md" part out and the code didn't do anything.
Thanks again Shaka.