windows - Can you set WindowTitle in Launch4j where headerType==console? -



windows - Can you set WindowTitle in Launch4j where headerType==console? -

i have launch4j config headertype=console.

console displays nicely console output. title of console window total path executable launcher. there way set title of window , if how?

eg if create batch file

start "this window title" mylauncher.exe

then console window this window title title. how can configure launch4j batch file not required?

as far know there no setting within launch4j that. there windowtitle option, docs gui only.

instead, think have few options. i'm going assume using windows since using batch , exe files.

options:

modify source launch4j add together phone call win32 api function setconsoletitle. you'd want recompile consolehead part , rebuild executable. utilize dev-cpp compiling.

there similar project called winrun4j has alternative configuring console title , uses method. maybe launch4j owners can add together feature if requested, wouldn't hard add together in yourself. have modified launch4j source before prepare bug , pretty straightforward.

write jni library phone call same win32 function java code. see this post.

instead of writing own jni dll, utilize jna library phone call setconsoletitle java. see reply in same link in #2 illustration usage.

windows window exe launch4j

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -