Here i faced requirement, that i need multiple duplicate organization for R&D purpose. Where the Document name should have some sequence like 1,2,3,4
I was searching for open source tool to generate random files but those are giving random names to file.
So i used simple CMD command to generate files, it is quite easy:
We just need to pass the file name, i opt for file which is having same in size and extension of PDF.
Open CMD and run below command:
for /l %A in (1,1,2000) do copy "D:\Duplicate\file.PDF" "D:\Duplicate\file-%A.PDF"
No comments:
Post a Comment