the 1st parameter is determined in a if endif block based on the OS type.
strange as the code below definately didn’t work for some reason, i just worked round it in the end by building up the string in a different way.
a different topic i know but can you help me iterate through a reg key for key names, names of values and the values themselves - its a simple query but i get multiple results for each value with the following code:
(names of it, names of values of it, values of it ) of keys of key “HKLM_Regkey” of registry