My script scans each drive for a folder called "My_pictures". Once that particular folder is found we then create a new folder in the destination path. Once that's created we use a dircopy to copy all the data to the new folder. But it doesn't seem to copy anything. Am I missing something?
; ---- stitch the file path together ----
$GetPaths = $drive[$i] & "\my_pictures\"
; ---- Copy files from drives[$i] to destination folder ----
My script scans each drive for a folder called "My_pictures". Once that particular folder is found we then create a new folder in the destination path. Once that's created we use a dircopy to copy all the data to the new folder. But it doesn't seem to copy anything. Am I missing something?
; ---- stitch the file path together ----
$GetPaths = $drive[$i] & "\my_pictures\"
; ---- Copy files from drives[$i] to destination folder ----