R
Ronny
I have an application (rxvt) which opens a Window when started (which
is not that unusual after all ;-)
The behaviour of this application can be customized via environment
variables. Now I would like to have on my desktop several icons,
each of which would, when clicked, launch this application, but
with a different set of environment variables.
To do this, I first created a CMD file corresponding to each of
the possible invocation patterns. Each CMD file looks roughly like
this:
rem Customize environment
set FOO=....
set BAR=....
rem Launch application
myappl.exe
Then I create desktop icons and associate them with each of these
CMD files.
This works well, but of course when I click on that icon, I see
a CMD window in addition to the window created by my application.
Is there a way how to hide this command window? Or is there a
better alternative to accomplish my goal?
Ronald
is not that unusual after all ;-)
The behaviour of this application can be customized via environment
variables. Now I would like to have on my desktop several icons,
each of which would, when clicked, launch this application, but
with a different set of environment variables.
To do this, I first created a CMD file corresponding to each of
the possible invocation patterns. Each CMD file looks roughly like
this:
rem Customize environment
set FOO=....
set BAR=....
rem Launch application
myappl.exe
Then I create desktop icons and associate them with each of these
CMD files.
This works well, but of course when I click on that icon, I see
a CMD window in addition to the window created by my application.
Is there a way how to hide this command window? Or is there a
better alternative to accomplish my goal?
Ronald