Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
Fix: ESD is not renamed properly
Browse files Browse the repository at this point in the history
  • Loading branch information
gus33000 committed Apr 24, 2015
1 parent 066a071 commit 976005d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions decrypt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 976005d

Please sign in to comment.