View Single Post
Old 7th January 2013, 23:13   #16790  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Quote:
Originally Posted by Peuj View Post
Hi madshi,

Thanks, I've found the "settings.bin" file in C:\Users\Peuj\AppData\Local\VirtualStore\Program Files (x86)\LAV Filters\x86\madVR

I've looked in the bat file and the way it's written, the "settings.bin" file cannot found.

Code:
@echo off
echo.
echo.
title restore madVR default settings...
cd /d "%~dp0"
start /min reg 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.
pause >NUL
I fixed it by adding a line that should make sure that you're in the directory that the batch file is in when it executes.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote