Quantcast
Channel: Data Protection Manager - File Protection forum
Viewing all articles
Browse latest Browse all 520

Copy file to Folder using Powershell..

$
0
0

HI,

I have a Problem. I have almost 50000 files (.txt, .pdf, . csv)etc . All the files has specific name like ( Customer.txt, car.txt, Customer.pdf). And i have also 50000 folder named like file name (Customer, Car, House) etc. Now how can i copy those files to specific folder eg (Customer.txt & pdf to Customer folder ) and (Car.txt &.pdf to Car folder) and so on. is any powershell command to copy all the files to specific folder compare to file name.  If anyone can help then it would be bit easier.

Thanks to all

AArif Chowdhury


Viewing all articles
Browse latest Browse all 520

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>