Hi to all,
any help to how insert/search a new var in:
Computer\HKEY_CURRENT_USER\Software\PDFCreator\Program ?
tks
Romeo/Zingoni
clear host
$null = New-PSDrive -Name HKU -PSProvider Registry -Root Registry::HKEY_USERS
Get-PSDrive -PSProvider Registry
Push-Location
$array = @("Biene1", "Biene2", "Biene3", "Biene4" )
#, "Winhotel1", "Winhotel2", "Winhotel3", "Winhotel4", "Winhotel5"
foreach ($element in $array) {
$element
$cQuelle = ' c:\users' + $element + '\ntuser.dat'
$pfad = 'HKU:\Testuser\Control Panel\Mouse'
reg LOAD HKU\Testuser $cQuelle
Write-Host $cQuelle
Write-Host $pfad
Set-ItemProperty -Path $pfad -Name 'DoubleClickHeight' -Value 50
Set-ItemProperty -Path $pfad -Name 'DoubleClickSpeed' -Value 370
Set-ItemProperty -Path $pfad -Name 'DoubleClickWidth' -Value 50
Set-Location $pfad
reg UNLOAD HKU\Testuser
}
Pop-Location
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 111 guests