Page 1 of 1 1
Topic Options
#125989 - 2004-09-01 10:19 AM Deleting Printers
ikmps Offline
Fresh Scripter

Registered: 2003-05-04
Posts: 37
Loc: Newcastle
Hi

I am trying to delete all of the network printers with the logon script. If I use the
“Delprinterconnection(“”)”
command it leaves the printers installed if I use the same command but include the printer name
“Delprinterconnection(ict1)”
it works but, very slowly and with a list of printers it can take 20-30 seconds to delete them all.

Any idea’s why it should take so long to delete (installing works fine)

Thanks

Paul

Top
#125990 - 2004-09-01 02:22 PM Re: Deleting Printers
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
if you need to delete the printers quick, try Lonk's Method
DelPrinterConnections

HTH,

Kent

_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#125991 - 2004-09-01 02:42 PM Re: Deleting Printers
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Don't use “curly” quotes. There is a FAQ on it.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#125992 - 2004-09-01 02:49 PM Re: Deleting Printers
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
I need: MY CUP OF COFFEE!!

Sorry about that one.. Sheesh.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#125993 - 2004-09-01 02:55 PM Re: Deleting Printers
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Ja, I need more coffee too. If the clients are XP, you will still need the UDF cuz the built-in does not work on XP.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.056 seconds in which 0.027 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org