Re: loading a printer driver w/ a script

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Parley (pdkennellynot_at_yahoo.com)
Date: 02/13/04


Date: Fri, 13 Feb 2004 11:10:43 -0800

Well,
I'm guessing since no one answered, that no one knows the answer to my
question. I was able to fix my problem by eliminating the -h \\path and
just including the path with the filename like:

-i \\server\path\driver.inf

If this is not the way MS intended this to work then they should change the
documentation or correct the script itself, but as of right now the
documentation does not support the actual functionality of the script.

I hope that this information is useful to someone else out there as well.

-Parley

"Parley" <pdkennellynot@yahoo.com> wrote in message
news:u5UQLaZ8DHA.2412@TK2MSFTNGP09.phx.gbl...
> Hi, I am trying to automate my printer management and am able to do
> everything except add a driver. I'm using the following command, but I
keep
> getting an error code 87. Any suggestions. This is the EXACT path that I
> use when adding the printer via the add a printer wizard. Please excuse
the
> wrapping.
>
> cscript prndrvr.vbs -a -m "hp deskjet 970c series" -h
> \\server\install\printers\970Cse\win2k_xp\enu\drivers\win2k_xp -i
> hpf970k.inf
>
>
> TIA
> Parley
>
>



Relevant Pages

  • Re: CopyHere
    ... You explained why the script would continue if it was unable to copy ... The question was asking for help on a CopyHere command which was not ... documentation seems to say it should. ... 'Backup User Favorites ...
    (microsoft.public.scripting.vbscript)
  • Re: Simple question about CGI response after form data has been processed.
    ... oversight in the documentation I have examined. ... I have found it extremely easy to use the CGI ... data my script had just processed. ... I know I could have the contents of the HTML file in the cgi file too, ...
    (comp.lang.perl.misc)
  • Re: Documentation of services
    ... It confuses users. ... Core releases, and the improvement in documentation is good enough, ... If the alsa script in /etc/init.d was responsible for the whole ALSA ...
    (Fedora)
  • Re: CopyHere
    ... You explained why the script would continue if it was unable to copy files, ... If the issue is simply the command being expected to create a directory ... documentation seems to say it should. ... 'Backup User Favorites ...
    (microsoft.public.scripting.vbscript)
  • Re: Re: FMPA9 Script Step "Import Records" : Determine Table Source
    ... On the upper left part of the field-mapping dialog box, ... In the script I put the ... Since you state that the "exact path" to your import source is ... table on the pop-up on the left side of the upper part of the ...
    (comp.databases.filemaker)