[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: do Win95 programs?



In a message dated 12/10/99 Myron writes:

> Can you start Win95 programs from the command line of XyDOS? I
> thought I had done this in the past, but now it won't work.

Sure can. I don't know why yours stopped working. Youcould try these:

1. Put the executable name in quotes.
2. Instead of the DO command, use this:
dos/nv/x/z_/c_"path and filename"_[arguments]
(Use spaces where I've typed underscores.)

Switches:
nv - no verify; don't ask about saving current xy state
/x and /z - I don't remember quite, but one freezes the screen.
/c - use the DOS command processor.

I use this command in an XPL program that automatically converts the current
XyDOS file (or highlighted portion) to RTF, saves it to a temp file, and
calls Wordpad with the temp file as the argument. At that point, I can fax
the file, save it to the clipboard and paste it into AOL's mail, save the
file and send it as an attachment, etc. The shell-to-DOS and callup of
Wordpad is taken care of in XPL code with "blind" execution (BX), but it also
works from the command line; I just tried it. In fact, for me, the DO command
works fine also, at least with Wordpad. When I'm all done I'm back in Xy4.

Good luck.

Tim Baehr
tbaehr@xxxxxxxx