I have a directory with over 5 million small files on windows. What's the best way to take out batches of files from that directory.
So far I've tried :powershell even simple gci | select -First 1 hangs forever :robocopy with a number of different parameters - its not able to move a file either.
Is there a way to grab x number of files without windows listing the entire directory in the process?
Thank you