Quote:

This whole thing is badly designed. This type of logic is ideal for .INI files. this will allow you to sue some ratehr generic code and make changes to the printer mappings in the separate .INi file instead of hacking the code.





Well, you'll eventually will edit either INI file or the scrpt itself. What's the difference? Moreover, the "genetic code" that I need my dynamic variables for, will let add new printers to the script in a very easy way - I'll need to add one more printer variable with list of the users and add the printer name to the printers list.
Thanks for ideas anyways!
I really appreciate them!


PS. If your're interested I can show the final login script when it's done. You'll see it has more sense than it appears to :-)