|
Thanks very much. i think I have enough to work from here. Don't know any scripting but it looks logical enough. i don't know why my old script just stopped working though.
A couple of quick questions (yes you can tell I am a complete novice!).
1: What would the string look like for a local printer (not network shared). here is a beeter example than my last question;;
$Printername="LASERJET" $SharedPrinter="LASERJET"
2: with this line "case instr(@wksta,"lib-") or instr(@wksta,"mmc-") or instr(@wksta,"tsc-") or instr(@wksta,"libLoft-")" , it wuoldn't matter if I split it onto separate lines would it? So it would look like this: (just makes it a little easier to read for not real geeks like me:))
case instr(@wksta,"lib-") or instr(@wksta,"mmc-") or instr(@wksta,"tsc-") or instr(@wksta,"libLoft-")
|