Code: Select all
REG Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders" /v c:\Program Files\Common Files\Corel\
Moderator: DosItHelp
Code: Select all
REG Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders" /v c:\Program Files\Common Files\Corel\
Code: Select all
C:\WINDOWS\system32>Echo Y | REG Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders" /v "c:\Program Files\Common Files\Corel\"
Delete the registry value c:\Program Files\Common Files\Corel" (Yes/No)? ERROR: The system was unable to find the specified registry key or value.
Code: Select all
C:\WINDOWS\system32>Echo Y > REG Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders" /v "c:\Program Files\Common Files\Corel\"
Code: Select all
@%SystemRoot%\System32\reg.exe Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders" /V "%CommonProgramFiles%\Corel\\" /F >NUL 2>&1
Code: Select all
@Echo Off
Set "Key=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders"
Set "Val=%CommonProgramFiles%\Corel\\"
Set "Reg=%SystemRoot%\System32\reg.exe"
(%Reg% Query "%Key%" /V "%Val%" && %Reg% Delete "%Key%" /V "%Val%" /F) >NUL 2>&1