Running Program in Background from bat file

put & at the end.

@echo off
c:\\tools\\editplus\\editplus.exe %1 &
@echo on
Advertisements

Java Logging Sample

(Default logging.properties file is in %JAVA_HOME%\\jre\\lib\\logging.properties)
logging.properties file. 
---------------------------------------------------------------------

handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler

.level= ALL

java.util.logging.FileHandler.pattern= c:\\temp\\test%u.log
java.util.logging.FileHandler.limit= 50000
java.util.logging.FileHandler.count= 1
java.util.logging.FileHandler.append= true
java.util.logging.FileHandler.formatter= my.test.SimpleFormatter

java.util.logging.ConsoleHandler.level= ALL
java.util.logging.ConsoleHandler.formatter= my.test.SimpleFormatter


Continue reading