× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> cmd.exe "understands" Start. (I'm guessing Start is an "internal"
command,
> like the DIR command?
Probably right, I hadn't thought about it in those terms.

>On a command line, type "Start /?" to see a
> description; I didn't see anything that might relate to the current
issue.)
> I tried "Start winword.exe" from cmd.exe, and Word started up fine. Did
the
> same using the java program, and got the same IO exception error.
>
> Hmmm. I prefixed the path to winword.exe for the java program, and that
> worked. I checked the PATH environment variable, and that path is not in
> there. Hmmm. How did cmd.exe find where windword.exe was?

Ah the joys of unravelling all the perculiarities of Windows :-)  You're
right tho, I tried a few similar things, if at the command prompt you type
"winword" it tells you (correctly) that it can't find it on the PATH
statement, yet if you do "start winword" it magically finds it.  I suspect
its looking down some list of installed applications that it "knows about"
in the registry and can find their paths from there.  But at least now you
know all this you can take it into account when designing how your RPG app
will invoke these functions.

We're straying away from iSeries here so leave it at that, but certainly
I've found out some useful info I didn't know before.

Regards,

Nigel Gay,
Computer Patent Annuities.



********************************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee; access to this
email by anyone else is unauthorised.

If you are not the intended recipient: (1) you are kindly requested
to return a copy of this message to the sender indicating that you
have received it in error, and to destroy the received copy; and (2)
any disclosure or distribution of this message, as well as any action
taken or omitted to be taken in reliance on its content, is prohibited
and may be unlawful.
********************************************************************************


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.