title: Windows script to Copy X number of files from one folder to another
body: <p>I am new to scripting world so might be asking some novice question but I did not find the exact code after so much googling.</p>
  
  <p>My requirement is to generate a script to copy X number of files from one folder to another. Here number of files to be copied, source and target folder should be configurable in the script.</p>
  
  <p>I tried Xcopy, Robocopy but in none I found any parameter to restrict the number of files to be copied. The program will run on Win7 or Win2008 server.</p>
  
  <p>Please help.</p>