[chronojump] Added the batch file to log the chronojump process.



commit af2e1b33b0483eea263f53b1dd08de185331ceec
Author: Xavier Padullés <x padulles gmail com>
Date:   Fri Jun 27 14:42:34 2014 +0200

    Added  the batch file to log the chronojump process.

 win32/logchronojump.bat |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/win32/logchronojump.bat b/win32/logchronojump.bat
new file mode 100644
index 0000000..cd9b30b
--- /dev/null
+++ b/win32/logchronojump.bat
@@ -0,0 +1,14 @@
+if not exist "%tmp%\Chronojump-logs" mkdir "%tmp%\Chronojump-logs"
+cd "%tmp%\Chronojump-logs\"
+if exist log_chronojump.txt (
+       if exist log_chronojump_old.txt (
+               del log_chronojump_old.txt
+       )
+       ren log_chronojump.txt log_chronojump_old.txt
+)
+
+if exist "%programfiles%\Chronojump\bin" cd "%programfiles%\Chronojump\bin"
+if exist "%programfiles(x86)%\Chronojump\bin" cd "%programfiles(x86)%\Chronojump\bin"
+
+Chronojump.exe > "%tmp%\Chronojump-logs\log_chronojump.txt" 2>&1
+cd %userprofile%


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]