ok,

simple solutions provided here :

do not use 'net use lpt1 etc' in your winnt script,
there's no need for that !
An addprinterconnection() is way enough , afaik

J.


[edit]
wait a tick ... I never heard of exact 7.1 ... so you say that needs also lpt1 on NT ?
hmm... NT help says :
net use lpt1: \\accounting\laser2

additionaly wrap that in a shell command :

shell '%ComSpec% /C net use lpt1: \\accounting\laser2' should do the job

[ 26 September 2001: Message edited by: jpols ]

_________________________