Powershell - copy files to different destination folders based on file names
问题 Dear Powershell Gurus, I have a few thousands of files in a folder called C:\Downloads\Signs. The files are named with their dimensions such as 13X20 abcdjd.psf, 8X20 jdscnjfc.psf, 14X24 dje.psf etc. What I want to do is to move these files to destination folders created within the C:\Downloads\Signs and the folder names are the dimensions of the file names. Example the folder names will be 13X20, 8X20, 14X24 etc and it depends upon as many unique file names with their dimensions. So, instead