Quote:
>This works for me.
>Set WshShell=CreateObject("Wscript.Shell")
>WshShell.Run "command.com /c copy d:\path\file.txt lpt1",0,true
>Set WshShell=nothing
Duh!!! That should have been right in front of my nose, but I was looking
the wrong way!! I guess I was trying to do everything with pure WSH object
model. BTW, via another source I found a link to some code for VB that will
send a file to a printer defined in windows. I may try to make a VB dll that
could be run from WSH, but your approach will allow me to do what I have
been trying to do for some time.
Thanks again!
Gordon