exe -url "%1"
If you??™re not sure what your application needs, check the documentation
or search Google for the application name and the words ???command
line.???
Application only opens a document if the application isn??™t already
running. This problem (and the next one) are caused by a background
technology called Dynamic Data Exchange, or DDE, that allows Windows
programs to communicate with one another. Windows sends a
DDE signal to an application that??™s already running to instruct it to
open the document. (If the application isn??™t already running, Windows
launches it just like any other.) The specific DDE commands that the
application needs are stored in the ddeexec Registry key, alongside the
aforementioned command key (shown previously in Figure 3-12). If the
ddeexec key is missing, Windows won??™t send the signal, and the program
won??™t open your document. You can try rebuilding the ddeexec
136 | Chapter 3: The Registry
key if you can find documentation, but it??™s usually easier to just reinstall
the application that owns the key. (Not all programs use DDE; don??™t
bother creating the ddeexec key unless you are having this specific
problem.)
Application opens the document twice. The ddeexec key just described
often causes more problems than it solves. Sometimes Windows sends
the aforementioned DDE message and launches another copy of the
program, which opens two document windows. If this happens, rename
the ddeexec key to ddeexec.
Pages:
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208