title: capturing CMD batch file parameter list; write to file for later processing
body: <p>I have written a batch file that is launched as a post processing utility by a program.  The batch file reads ~24 parameters supplied by the calling program, stores them into variables, and then writes them to various text files.</p>
  
  <p>Since the max input variable in CMD is %9, it's necessary to use the 'shift' command to repeatedly read and store these individually to named variables.  Because the program outputs several similar batch files, the result is opening several CMD windows sequentially, assigning variables and writing data files. This ties up the calling program for too long.</p>
  
  <p>It occurs to me that I could free up the calling program much faster if maybe there's a way to write a very simple batch file that can write all the command parameters to a text file, where I can process them later.  Basically, just grab the parameter list, write it and done.</p>
  
  <p>Q:  Is there some way to treat an entire series of parameter data as one big text string and write it to one big variable... and then echo the whole big thing to one text file?  Then later read the string into %n variables when there's no program waiting to resume?</p>
  
  <p>Parameter list is something like 25 - 30 words, less than 200 characters.</p>
  
  <p>Sample parameter list:<br>
  "First Name" "Lastname" "123 Steet Name Way" "Cityname" ST 12345 1004968 06/01/2010 "Firstname+Lastname" 101738 "On Account" 20.67 xy-1z 1 8.95 3.00 1.39 0 0 239 8.95</p>
  
  <p>Items in quotes are processed as string variables.  List is space delimited.</p>
  
  <p>Any suggestions?</p>