Aug 1, 2011 #1 JackGat Technical User Joined Dec 28, 2009 Messages 15 Location US Hello, I have a text file that has two lines of code. I need to copy this file 250 times. Is there an easy to do this in Windows or even DOS? Thanks for your help in advance. Cheers!
Hello, I have a text file that has two lines of code. I need to copy this file 250 times. Is there an easy to do this in Windows or even DOS? Thanks for your help in advance. Cheers!
Aug 4, 2011 #2 BadBigBen MIS Joined Feb 8, 2003 Messages 8,262 Location DE let me ask you this, you want 250 copies of the same file or one file with 250 iterations of the original file? and both can be accomplished with simple batch programming... e.g. Code: @echo off SET Count=250 for /L %%G in (1,1,%Count%) do ( copy "X:\MyFile.TXT" "Y:\MyFile%%Count.txt" > nul ) Ben "If it works don't fix it! If it doesn't use a sledgehammer..." How to ask a question, when posting them to a professional forum. Only ask questions with yes/no answers if you want "yes" or "no" Upvote 0 Downvote
let me ask you this, you want 250 copies of the same file or one file with 250 iterations of the original file? and both can be accomplished with simple batch programming... e.g. Code: @echo off SET Count=250 for /L %%G in (1,1,%Count%) do ( copy "X:\MyFile.TXT" "Y:\MyFile%%Count.txt" > nul ) Ben "If it works don't fix it! If it doesn't use a sledgehammer..." How to ask a question, when posting them to a professional forum. Only ask questions with yes/no answers if you want "yes" or "no"
Aug 4, 2011 Thread starter #3 JackGat Technical User Joined Dec 28, 2009 Messages 15 Location US I would like 250 copies of the same file. Where would I run this script? Upvote 0 Downvote