[comp.os.msdos.programmer] Input in Windows 3

niklas@appli.se (Niklas Hallqvist) (06/27/91)

	Hello!

I'm not a Windows (or even DOS) user, but rather a Unix programmer.  One of our
customers use PC's as networked terminals to the Unix-server we have
delivered.  The PC's run Windows 3.  On the PC's there are communication
facilities of various kinds, to connect to external computers.  They
transfer invoices and such on these lines, and the protocols are
specific for each external site, and are only available on PC's.
We create the files on the Unix Server, for later transfer to the PC's
and then further on.  My problem is:  When a PC user wants to get a file
from the server to transfer to their partners, they must enter a jungle
of different programs, like ftp and such, and they are not experienced
computer users.  So I thought I'd write a batch file, just asking the
user of the invoice number, and then proceed to do all the hairy work.
Easy as pie!  But then I discovered there's no READ (Bourne Shell like)
command in DOS.  So I searched SIMTEL for one, and sure as hell, I found
it.  But... that READ command reads a line into a environment variable in
the original shell, not the one which is active in the Window the .BAT is
run from, so.. what to do?  Well here I am, wanting a simple utility who
can read in a line, either from a "real" window, or in a DOS Window, and
feed this string into either a .BAT-file as a parameter, or into an
environment variable.  Any suggestions are welcome.  And please mail me,
as I don't read this group at all.

					Niklas
-- 
Niklas Hallqvist	Phone: +46-(0)31-40 75 00
Applitron Datasystem	Fax:   +46-(0)31-83 39 50
Molndalsvagen 95	Email: niklas@appli.se
S-412 63  GOTEBORG, Sweden     mcsun!sunic!chalmers!appli!niklas