Les is correct.. Like Les states, we as a whole do not have any 9x systems in house anymore. Look into the code more and you will see it utilizes SENDKEYS to add in printers..

Keep going down to the line -
Code:

RUN "rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter"



Because in the code it does the test to see that you are in Windows NT first and if not, it goes on to Windows 9x.

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