rejiggered to avoid extra bat files.  RegReading is done in jscript