P
P
Parkovshik2018-10-08 14:38:47
cmd/bat
Parkovshik, 2018-10-08 14:38:47

How to split a folder with 600k files into 6 folders of 100k files?

Hello. OS Win7, there is a folder with 600 thousand files, you need to scatter them (can be randomly) into 6 folders (in each so that there are 100k files). How can this be implemented? Maybe through Total Commander or batch file somehow? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2018-10-08
@xmoonlight

Something like this: https://stackoverflow.com/a/14918113/1348776
A simple loop (from 1 to 5 in steps of 1):

FOR /L %%i IN (1,1,5) DO (
  ECHO %%i
)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question