1.    03 Dec 2015 #1
    Join Date : Aug 2015
    Posts : 145
    Windows 10 Enterprise x64 1709

    Reg to Bat


    Hi everyone,
    I'm so sorry if this is not the proper forum to ask, but didn't found one for registry related questions.
    I have a small .reg file and I have converted it to .bat using a tool and am not sure if it's converted correctly and bug free!
    Is there anyone expert in this thing wish to help me and notify me of any mistakes/problems in the conversion, if any?
    Thanks a lot, it's vital to me

    Setup.reg
    Setup2.bat
      My ComputerSystem Spec
  2.    04 Dec 2015 #2
    Join Date : Jun 2015
    Posts : 1,929
    Windows 3.1 to Windows 10

    Why convert to .bat ??

    just need to double click to install
      My ComputerSystem Spec
  3.    04 Dec 2015 #3
    Join Date : Aug 2015
    Posts : 145
    Windows 10 Enterprise x64 1709
    Thread Starter

    double click to install ???!!!
    Did you even read my question?
    I just want to know if my reg to bat was error free?
      My ComputerSystem Spec
  4.    04 Dec 2015 #4
    Join Date : Oct 2014
    Trnava
    Posts : 2,964
    10.4 Home 1709 x64

    Seems fine to me. I use Reg Converter , which tool have you used
      My ComputerSystem Spec
  5.    04 Dec 2015 #5
    Join Date : Aug 2015
    Posts : 145
    Windows 10 Enterprise x64 1709
    Thread Starter

    Thanks, same tool, I was checking here since that's pretty important to me!
    I had doubt about these 2 lines as well:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]
    "{F764812A-132C-4013-9960-5CBBEB408A0E}"=-

    to:

    REG delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /v "{F764812A-132C-4013-9960-5CBBEB408A0E}" /f

    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /f
      My ComputerSystem Spec
  6.    04 Dec 2015 #6
    Join Date : Aug 2015
    Posts : 145
    Windows 10 Enterprise x64 1709
    Thread Starter

    or

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Nero\Nero 10\Shared]
    "SendUsageStatistics"=dword:00000000
    @=""

    to

    REG add "HKLM\SOFTWARE\Wow6432Node\Nero\Nero 10\Shared" /v "SendUsageStatistics" /t REG_DWORD /d "0" /f
    REG add "HKLM\SOFTWARE\Wow6432Node\Nero\Nero 10\Shared" /ve /t REG_SZ /d "" /f
      My ComputerSystem Spec
  7.    04 Dec 2015 #7
    Join Date : Oct 2014
    Trnava
    Posts : 2,964
    10.4 Home 1709 x64

    Quote Originally Posted by omidsolo View Post
    @=""
    This is the reason, why I was looking for a tool like that.
    I could not figure out, how to add an empty value.


    Quote Originally Posted by omidsolo View Post
    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /f
    This one seems unnecessary, since you would have to delete the whole key, not just a single value, like:

    REG delete [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]
      My ComputerSystem Spec

 

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 11:15.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums