William: The specifics of your situation are beyond my expertise. The last I dealt with serial communications all I worried about was whether the machine had 16550 or 8250 UARTs, as there were differences in the FIFO buffers. I've no experience talking with a RS-232 serial port via USB.
You say that the autoexec.nt won't oblige; is there an error message or a system log error recorded? How about creating a .BAT file with your MODE command and calling it at the beginning of your VFP application, something like, RUN /N ModeSet.BAT On Wed, Aug 6, 2014 at 4:55 PM, Tormey <[email protected]> wrote: > Ted the following is more precise: > > win2k. mode command > mode com8: baud=9600 parity=n data=8 stop=1 dtr=off rts=on > > sets up the comms to a load cell controller via Comtools, Ftdi USB to > Rs232. > > Absolutely fail safe if called from the DOS command line reached from > within win2k. > > Your articles states that MODE is an external command even for win2k, ie > mode.com is found in > winnt\system32. And yes, it is present. > > BUT autoexec.nt will not oblige when the call in Autoexec.nt is > > c:\winnt\system32\mode com8: baud=9600 parity=n data=8 stop=1 dtr=off > rts=on > or without the path ifo. > > > TIA > William > > > > > > On 06/08/14 17:04, Ted Roche wrote: > >> On Wed, Aug 6, 2014 at 11:51 AM, Jeff Johnson <[email protected]> wrote: >> >> Ed, I know you're kidding because the key says, "Caps Lock" when >>>> >>> everyone I know calls it "Cap Locks." So you were reading the key on >>> your >>> keyboard! ( or someone elses) >>> >>> >>> <g> >> >> Actually, mine says "CapsLk" and has a caps lock symbol (⇬) with a >> capital-A in in it. But it's a Chinese laptop with an IBM logo... >> >> But William has been posting to the forum for decades, always in >> upper-case, and always about VFP5, the second buggiest VFP ever (well, >> unless you count VFP4!). We ought to make allowances. >> >> William, if I have to hazard a guess from his curt posting, is trying to >> control serial port settings using the MODE command for something his VFP5 >> app is doing. (IIRC, he works in a factory and does a lot of automation >> control via VFP.) >> >> William, I think the suggestion is to set serial port settings via the >> control panel, which end up in the registry, as in this KB article: >> >> http://support.microsoft.com/kb/112841 >> >> or http://www.computerhope.com/modehlp.htm >> >> If you're doing something else, like serial port printing, let us know a >> bit more and perhaps we can give more specific suggestions. >> >> > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cacw6n4ubocq_vbden9y7meempdarphiswhv9yu+qgk4ztvl...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

