From 976005daf795303b2ca24086f5b907b6e8a712fe Mon Sep 17 00:00:00 2001 From: gus33000 Date: Fri, 24 Apr 2015 15:52:40 +0200 Subject: [PATCH] Fix: ESD is not renamed properly --- decrypt.bat | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/decrypt.bat b/decrypt.bat index 47fa208..397e499 100644 --- a/decrypt.bat +++ b/decrypt.bat @@ -86,7 +86,6 @@ set "ESD=%~2" set "OUT=%~3" if [%OUT:~-1%]==[\] set "OUT=%OUT:~0,-1%" set "KEY=%4" -set "ESDN=%2" chcp 437 >nul set wimlib=%~dp0bin\wimlib-imagex.exe if %PROCESSOR_ARCHITECTURE%==AMD64 set wimlib=%~dp0bin\bin64\wimlib-imagex.exe @@ -187,7 +186,7 @@ IF %ERRORTEMP% NEQ 0 ( rmdir /s /q ISOFOLDER\ IF EXIST "%ESD%.bak" ( del /f /q "%ESD%" >nul 2>&1 - ren "%ESD%.bak" %ESDN% + ren "%ESD%.bak" %ESD% ) echo. echo Press any key to exit.