Forum Discussion
krishank652
Jun 17, 2021Copper Contributor
How do I copy some multiple photos from one folder to another?
I have a list of names of photos that I have required to copy from one folder to another. How Can I do that? List of Photos name that I have required to copy in a New Folder:- qa List of ...
krishank652
Jun 17, 2021Copper Contributor
I want to filter out lists of photos that are given in the excel sheet.
Schnittlauch
Jun 17, 2021Steel Contributor
Hi krishank652 ,
$Pic =Import-Csv C:\folder\pics.csv -delimiter ';'
$pic2=$pics.Pictures
copy C:\folder\$pics2 C:\DestinationFolder\
Pay attention to give the csv file in the first row the right name, in my example "Pictures"
I hope I met your requirements
Best regards,
Schnittlauch
"First, No system is safe. Second, Aim for the impossible. Third, no Backup, no Mercy" - Schnittlauch
My answer helped you? Don't forget to leave a like. Also mark the answer as solved when your problem is solved. 🙂
- krishank652Jun 17, 2021Copper ContributorCan you share any full example. I don't understand How & where can I run this code?
- SchnittlauchJun 17, 2021Steel ContributorI was using Excel+ powershell. Is this an option for you? If so, I will explain it.