>I'm trying to call external programs from a VFP Form. You can throw out any other ideas if you wish.
>
>I've inherited an old Clipper system, that I just don't have the time to rewrite. It is currently running on an old Novell network that is about to die a quick death. My boss wants it ported over to our NT network asap, so we don't have to worry about the Novell system crashing.
>
>There's maybe 20-25 individual Clipper programs that are run thru one of those old DOS Menu programs like Direct Access. The menu program calls batch files that typically remap drives, which is no problem with WSH, and run the Capture command to setup printers. Mimicking the Capture command is where I'm having problems right now.
>
CAPTURE in NetWare equates closely to NET USE
port name \\ServerName\PrinterShareName
If you run under NT, the VDM has to be assigning default ports before Cripple < erm > could use them - there is no default device PRN. I'd look to see if the HKCU\Printers had an lpt1 subkey if the referenced current printer isn't there, because DOS can't reference other than by port name!