diff --git a/capture.ps1 b/capture.ps1 index 7b437cb..af187e5 100644 --- a/capture.ps1 +++ b/capture.ps1 @@ -26,9 +26,9 @@ foreach ($file in $fileList) { $targetParent = Split-Path -Path $targetCopy -Parent if (-not (Test-Path -Path $targetParent)) { New-Item -ItemType Directory -Path $targetParent -Force | Out-Null - Write-Host "Copy-Item -Path '$($file.FullName)' -Destination '$($targetParent)'" - Copy-Item -Path $file.FullName -Destination $targetParent } + Write-Host "Copy-Item -Path '$($file.FullName)' -Destination '$($targetParent)'" + Copy-Item -Path $file.FullName -Destination $targetParent } }