title: mongo shell / simple example for windows XP
body: <p>New to Mongo, just experimenting w the shell on a Windows XP machine running Mongo 2.0.1.</p>
  
  <p>At the ">" mongo.exe cmd prompt, what do I enter in order to read cmds from another file called TEST.js ?  I put a TEST.js file every place I could think of, and typed things like ">./mongo TEST.js", ">.mongo full-pathname.js", ">TEST.js", etc.</p>
  
  <p>Is there a way to do this ?</p>
  
  <p>(Why?: I loaded a bunch of data w mongoimport &amp; thought I could try a quick-and-dirty mapreduce from the > shell prompt prior to setting up via a ruby or python driver &amp; doing it the right way.  The map,reduce &amp; finalize funcs are sitting in a *.js file, and I need those function defs imported before I can run the mapreduce method on my data collection.)</p>