• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 136
  • Last Modified:

regedit.exe REG ADD problems

this is the synatx i use:
REG ADD "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Ncrack" /v "DisplayName" /t REG_SZ /d Visual Studio 2015 - English /f

Open in new window



so i want to replace Ncrack 0.5 from ''DisplayName'' with  Visual Studio 2015 - English, how to do that?
thanks
snapshot.JPG
0
john lambert
Asked:
john lambert
1 Solution
 
oBdACommented:
The argument for the data string contains spaces, so it needs to be enclosed in quotes:
REG ADD "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Ncrack" /v "DisplayName" /t REG_SZ /d "Visual Studio 2015 - English" /f

Open in new window

0
 
john lambertAuthor Commented:
thank you.......
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now