folderIdx.name is this portion
Ring_Solitaire_Marquise_6X3mm.3dm
I add the perspective when i save the file.
This is the portion that creates the folder where I want to move the files.
For Each folderIdx In files
'create folder to save the renders
If Not folderexists(strFolder & "\renders\" & folderidx.name) Then
mkdir strFolder & "\renders\" & folderidx.name
End If
Next
Im attaching a screencap of the directory from which I want to move the files. You can see the folder that has been created.