|
Thanks for the fast response.
The problem with EnumValue is that it's params require an index, rather than the value name.
I am exporting the registry contents from one server to a text file, then creating registry entries to the new server by parsing through the created file. Because of this, I am attempting to read each entry via ReadValue:
$x=readvalue["$currentKey","$currentValueName"] if $x <> 0 messagebox ["Create Entry", "Testing", 0] else messagebox ["Existed, ignore.", "Testing", 0] endif
However, the error codes state that the full ASCII representation is returned if the value exists, an error if otherwise. This sounds fine, but then I would need to code something like this:
$x=readvalue["$currentKey","$currentValueName"] if $x < 6118 messagebox ["Go For It", "Testing", 0] endif
But this still brings in some invalid entries. Does this make sense?
Cheers,
Rix
|