I Hope some one can help me out with this problem.
I want to copy files from a sub sub folder and all the files in that specific folder needs to be copied to one folder.
Like this
driveletter: \FolderA\year\number\ files
What the problem is with this copy is the FolderA and Year (multiple years) everytime is different.
Only the folder Number is always’s the same. And in the number folder are the files that I want.
So I got
driveletter: \FolderA\year14\number\ files
driveletter: \FolderA\year15\number\ files
driveletter: \FolderB\year14\number\ files
driveletter: \FolderB\year15\number\ files
driveletter: \FolderC\year15\number\ files
driveletter: \FolderD\year14\number\ files
(did a space between : \ because getting this :\)
but Foldera is going until zzz
I was trying to do this with powershel but i just see al the files in the folder in folder a and year. So not just the files in Number.
Was using this command :
Get-ChildItem -Recur c: \ -Include *.docx, *.xls, *.pdf | Copy-Item -destination: e: \Number
I want to copy files from a sub sub folder and all the files in that specific folder needs to be copied to one folder.
Like this
driveletter: \FolderA\year\number\ files
What the problem is with this copy is the FolderA and Year (multiple years) everytime is different.
Only the folder Number is always’s the same. And in the number folder are the files that I want.
So I got
driveletter: \FolderA\year14\number\ files
driveletter: \FolderA\year15\number\ files
driveletter: \FolderB\year14\number\ files
driveletter: \FolderB\year15\number\ files
driveletter: \FolderC\year15\number\ files
driveletter: \FolderD\year14\number\ files
(did a space between : \ because getting this :\)
but Foldera is going until zzz
I was trying to do this with powershel but i just see al the files in the folder in folder a and year. So not just the files in Number.
Was using this command :
Get-ChildItem -Recur c: \ -Include *.docx, *.xls, *.pdf | Copy-Item -destination: e: \Number