Don't attempt to use the /persistent option with Windows 98, it doesn't
support it. Just run the mapping portion of the command instead.
--
Richard G. Harper [MVP Shell/User]
(E-Mail Removed)
* PLEASE post all messages and replies in the newsgroups
* for the benefit of all. Private mail is usually not replied to.
* My website, such as it is ...
http://rgharper.mvps.org/
* HELP us help YOU ...
http://www.dts-l.org/goodpost.htm
"Burroughs" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi to everyone!
> I'm currently having a problem with a program running under DOS that I
> use to store all the transactions made by the customers of my insurance
> agency.
> This software was developed in Clipper so there's no way to make it
> print to a USB printer.
> I had thought about sharing my USB printer and then launch this
> istruction: "net use lpt1: \\host_name\printer_name /persistent:yes, but
> the last option "persistent:yes" is unknown to the implementation of net
> use in Windows 98.
> If I launch the command "net use lpt1: \\host_name\printer_name\ /yes",
> the shell responds saying this command can be launched only from a
> server or something similar.
> Well, is there a workaround to solve this kind of issue?
> Thanks in advance,
>
> Burroughs.
>