Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

files to be moved to month folder

$
0
0

Hi,

I have 4 files here c:\test

25-10-16_test1.txt

25-9-16_test2.txt

25-8-16_test3.txt

24-8-16_test4.txt

I would like to make a script that will move the files into folders named the month.

The timestamp is used to for the filename of the file. For instance the file 25-10-16_test1.txt should be moved to a folder called october

25-9-16_test2.txt to a folder called september. i.e

How can I do this?


Viewing all articles
Browse latest Browse all 15028