We are trying to create windows eventlog by executing following command from java. But unable add newline(\n) in the description(/d).
eventcreate /t error /id 100 /l myApp /SO "mysource" /d "this is 1st line of the log \n this is second line"
Executing above from java code : Runtime.getRuntime().exec(command);
1.Tried adding crl+l (^L) instead of \n but it works only from command line not from java code.