Recent content by ptjuh

  1. P

    Powershell -get childitem and copy-item

    Her, Thats correct I only want to get the files from the folder number. I will try the code you have send. Tried it. None of the files where copied? :( @echo off GCI C:\_ -Include *.docx, *.xls, *.pdf -Recurse | ? { $_.PSParentPath -like "*\numbers" } | Copy-Item -Destination E:\numbers pause
  2. P

    Powershell -get childitem and copy-item

    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...