Hi George I understand what you're saying, however con2prt.exe is a free
microsoft utility that sits on the server and is called from the logon
scrips. There's nothing to actualy install and its completely transparent.
With regards to cscript, its a script host and needs initializing before a
script can run:
http://www.microsoft.com/technet/scr...in/ss1006.mspx
Sometimes the way you want to do things isn't the best way of doing them.
James.
--
James Yeomans, BSc, MCSE
Ask me directly at:
http://www.justaskjames.co.uk
"George Spiro" wrote:
> My script is fine. I just need to understand why I need to type cscript
> for the first time on the workstation for it to work.
>
> Also find it a waste to deploy another application to do something that
> windows does out of the box.
>
> James Yeomans BSc wrote:
> > Hi, you would be best to add printers using the con2prt.exe utility. This is
> > a very simple utility to use via logon script and is the best way i have
> > found of mapping printers. See:
> > http://www.justaskjames.co.uk/default.asp?link=107
> > James.
> >
>