We're using 3.64 (if I remember, definately 3.6x)

I took a look at the UDF - I'm not clear what extra this would do for me? (though I'm a kixtart beginner)

So far as using SELECT CASE , given I only have three sites/subnets would there be any noticable difference, or is it simply "best practice" to use CASE?

What's comspec - as in

SHELL '%COMSPEC% /C /E:1024 '+@LDRIVE+'\B_antivirus.bat'

Paul