Skip to content

Instantly share code, notes, and snippets.


RickDB/restore_settings.bat Secret

Last active Jun 18, 2019
What would you like to do?
@echo off
title Restoring madVR settings from settings.reg file
if exist "settings.reg" (
echo Settings file found, resetting to default first...
start /min reg.exe delete HKEY_CURRENT_USER\Software\madshi\madVR /f
if exist "settings.bin" (
if exist "settings.bak" (del settings.bak >NUL)
rename settings.bin settings.bak >NUL)
echo Settings were reset to default
echo Restoring from settings file...
reg.exe import "settings.reg"
echo Settings restored from settings file
echo Completed restoring madVR settings
if not exist "settings.reg" (
echo Settings file not found, skipping restore

This comment has been minimized.

Copy link
Owner Author

@RickDB RickDB commented Jun 26, 2017

Restores madVR settings from settings.reg file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment