Thank you. Also in my script is printer() with (a sample line):
 Code:
    Case InStr (@wksta,"047-C111")=1 
         $nothing = AddPrinterConnection ($s1 + "\Epson") 
         $nothing = AddPrinterConnection ($s1 + "\c111") 
         $nothing = AddPrinterConnection ($s1 + "\Xerox") 
         $nothing = SetDefaultPrinter ($s1 + "\c111")  

I honestly can't remember where I got the '$nothing' from. It works. But in this case there are three printers listed (my other case statements only have one printer listed), so can I change the $nothing to $printer1,$printer2,$printer3,$printerdefault (assuming I declare those variables at the beginning of my script). Then I'll be able to add the actual printer names in my text rather then having to write a generic line. Is that how I should be going about this?
Thanks,
_________________________
---
Bishop Grandin Technology Department
'Either we're on time, or we're late'