I want to copy a file from \\comp1\share into \\comp1\share\01 or 02... depending on the name of file.
The name of file is like file2901.txt, file0202.txt.
So I know the path \\comp1\share where I have a file.
How can I get the name of this file to extract only the month and then copy it in the corresponding folder ?
Thank in advance