29.04.2008, 22:16
Von der Pidgin Seite:
Das ganze als pidgin.cmd oder sonst nem lauffähigen Namen im Pidgin Verzeichnis speichern. Wenn du Pidgin über dieses Startscript startest, dann wird automatische in debug log erstellt, mit dem man mehr erkennen kann.
Code:
@ECHO off
REM stay quiet
REM make sure the debug directory exists
IF NOT EXIST debug mkdir debug
REM get the date and time
SET dt=%date%_%time%
REM save the nice formatting
SET odt=%date% %time%
REM replace the / with -
SET dt=%dt:/=-%
REM replace the ' ' with 0
SET dt=%dt: =0%
REM replace the : with .
SET dt=%dt::=.%
REM remove the first 4 characters which are the day plus a space
SET dt=%dt:~4%
REM build the logfile name
SET logfile="debug\%dt%.log"
REM remove the space that gets created for some reason...
SET logfile=%logfile: =%
REM write a nice header
ECHO ------------------------------------------------- > %logfile%
ECHO Pidgin Debug Log For %odt% >> %logfile%
ECHO ------------------------------------------------- >> %logfile%
REM start pidgin without an extra command window
START /B pidgin -d >> %logfile%
REM close this command window
EXIT
Das ganze als pidgin.cmd oder sonst nem lauffähigen Namen im Pidgin Verzeichnis speichern. Wenn du Pidgin über dieses Startscript startest, dann wird automatische in debug log erstellt, mit dem man mehr erkennen kann.