I am an experienced programmer on mainframes, but not on PCs, so there may be some simple answer to the following.
I have a VBS script that loops through a specific part of the Registry and deletes some items. The only "external" activity consists of invoking REG.EXE to COPY items from one key to another, and writing a few TextFile records. Process Explorer shows repeated invocations of REG.EXE and CONHOST.EXE.
This script runs in seconds on XP, but takes an hour on WIN7, though it eventually completes successfully. Can anyone offer an explanation and/or solution, please?
BTW, I use REG.EXE to COPY because I wasn't able to find any script command to perform this function. If such a command exists, I'd appreciate any relevant info.
Thanks for any input.