falcon bms에서 opentrack의 NPClient64.dll이 있으면 마우스룩 락거는 문제 때문에 매번 파일 찾아가서 리네임 했다 원복했다 귀찮아서 만든 배치파일 비슷한 용도로 쓸일 있는 사람을 위해 공유해 봅니다.
@echo off setlocal title NPClient64 Toggle System :: File Definitions set "ORIGINAL=NPClient64.dll" set "OFF_FILE=NPClient64.dll.off" :main_menu :: Check Current Status if exist "%ORIGINAL%" goto menu_off if exist "%OFF_FILE%" goto menu_on :error cls echo ============================================ echo [ ERROR ] : File NOT found. echo [ DETAIL ] : NPClient64.dll or .off missing. echo ============================================ goto end :menu_off cls echo ============================================ echo NPClient64 STATUS MENU echo ============================================ echo. echo [ CURRENT STATUS ] : ENABLED (ON) echo [ ACTION ] : Press 1 to DISABLE (OFF) echo Press Q to EXIT echo. choice /c 1Q /n if errorlevel 2 goto end ren "%ORIGINAL%" "%OFF_FILE%" cls echo ============================================ echo [ RESULT ] : STATUS CHANGED TO DISABLED (OFF) echo ============================================ timeout /t 1 > nul goto main_menu :menu_on cls echo ============================================ echo NPClient64 STATUS MENU echo ============================================ echo. echo [ CURRENT STATUS ] : DISABLED (OFF) echo [ ACTION ] : Press 1 to ENABLE (ON) echo Press Q to EXIT echo. choice /c 1Q /n if errorlevel 2 goto end ren "%OFF_FILE%" "%ORIGINAL%" cls echo ============================================ echo [ RESULT ] : STATUS CHANGED TO ENABLED (ON) echo ============================================ timeout /t 1 > nul goto main_menu :end echo. echo Press any key to exit... pause > nul