Reg to Bat


  1. Posts : 174
    Windows 10 Enterprise x64 1709
       #1

    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 Computer


  2. Posts : 4,143
    Windows 3.1 to Windows 11
       #2

    Why convert to .bat ??

    just need to double click to install
      My Computer


  3. Posts : 174
    Windows 10 Enterprise x64 1709
    Thread Starter
       #3

    double click to install ???!!!
    Did you even read my question?
    I just want to know if my reg to bat was error free?
      My Computer


  4. Posts : 5,452
    Windows 11 Home
       #4

    Seems fine to me. I use Reg Converter , which tool have you used
      My Computer


  5. Posts : 174
    Windows 10 Enterprise x64 1709
    Thread Starter
       #5

    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 Computer


  6. Posts : 174
    Windows 10 Enterprise x64 1709
    Thread Starter
       #6

    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 Computer


  7. Posts : 5,452
    Windows 11 Home
       #7

    omidsolo said:
    @=""
    This is the reason, why I was looking for a tool like that.
    I could not figure out, how to add an empty value.


    omidsolo said:
    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 Computer


 

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 08:54.
Find Us




Windows 10 Forums