M
Malte Christensen
Guest
When copying files from source root, it seems that ROBOCOPY see the file(s) as directories and the resoult is, that the filename become a directoiry name on targetLogfile says:2023/03/08 11:16:09 ERROR 267 (0x0000010B) Accessing Source Directory \\XXXXXXXXXX\mdt$\Placer IKKE l›se filer i hovedshare - Vedr_backup_VIGTIGT.txt\ The directory name is invalid. How can I prevent thatMy code:$FileName = (Get-Date).tostring("MM-dd-yyyy---HH-mm-ss")$oldpaths = Get-ChildItem "\\XXXXXXXXXX\mdt$\*"$newpath = 'Q:\CTXMDT\'Set-Location $newpathforeach($oldpath in&
Continue reading...
Continue reading...