Index: /trunk/bin/postsession_logmerge_dev.bat
===================================================================
--- /trunk/bin/postsession_logmerge_dev.bat	(revision 685)
+++ /trunk/bin/postsession_logmerge_dev.bat	(revision 685)
@@ -0,0 +1,24 @@
+REM Merge log files and sort by timestamp
+REM Invoke from 'trunk' folder
+REM TODO: Add error handling - missing files, not executed from 'trunk', ... 
+
+REM Change to trunk folder
+cd ..   
+
+REM 1. Runs a python program named "extract_caddetails" 
+REM to extract CAD DETAIL lines from incident_script.xml
+REM and creates an output file "caddetails.csv"
+set PYTHONPATH=webapps\unifiedlogger.zip  python -m extract_caddetails
+
+REM 2. Define a variable for the directory containing the data files
+dir="webapps\dynamicdata"
+
+REM 3. Merge the unified log with cad details and evaluation ratings
+REM then sort them by timestamp (reverse chronological).  
+REM Final result placed in "sessionlog.csv"
+type %dir%\unifiedlog.csv %dir%\caddetails.csv %dir%\evalratings.csv w:\web2py\samplelogfile.txt | sort > %dir%\sessionlog.csv
+
+
+REM 4. Next, launch the webserver and browse to localhost:8080/sessionlogdisplay.html 
+REM    to show a nicely formatted version of the results.
+"C:\Program Files (x86)\Mozilla Firefox\firefox.exe"  localhost:8080/sessionlogdisplay.html  &
Index: /trunk/bin/postsession_logmerge.bat
===================================================================
--- /trunk/bin/postsession_logmerge.bat	(revision 679)
+++ /trunk/bin/postsession_logmerge.bat	(revision 685)
@@ -12,5 +12,4 @@
 
 REM 2. Define a variable for the directory containing the data files
-REM dir="webapps\dynamicdata"
 set dir="w:\webapps\dynamicdata"
 
@@ -24,3 +23,3 @@
 REM    to show a nicely formatted version of the results.
 "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"  webapps.tmcsim/sessionlogdisplay.html  &
-REM "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"  localhost:8080/sessionlogdisplay.html  &
+
