|
Some computers (printers mapped based on computer instead of user) are a member of multiple print groups, hence IF + ENDIF.
It was never a case statement - originally i had the mapped drives in SELECT CASE structures, until i realised that some admin staff map multiple drives.
Is there any documentation on "good practices"? As i'm unsure as to how to best declare variables. Should i DIM the variable on one line, then set its value on another?
Also what is the significance of $SO ? I've seen it used a bit in the learning forums where people posted solutions to example problems, but am yet to get my head around it.
As for the splash screen - its a good point, i might wrap the lot into "IF $enablelogging = 1 ...." statement, so when set to '1' it'll output a text file with quite alot of information (session info + NIC details).
Glen mentioned in another thread that it's not best practice to use the ? " some text to display". In my script, what would be the best way of 'echoing' text to the console / logging text file?
Thanks for the reply
Luke
|