[Android General] bjdanny:
I think different system environment configuration causing the problem...and it's related to the %cd% variable in the batch file.. So the fix is try open the batch file with notepad then "find and replace %cd% with c:\myfastdeodextool-hoipai like below ..

@echo off

@echo ==================================================

@echo.

@echo Auto deodex + Zipalign Tool by BjDanny @ XDA Forum

@echo.

@echo ==================================================

@mkdir c:\myfastdeodextool-hoipai\deodexed_framework

@mkdir c:\myfastdeodextool-hoipai\deodexed_zipaligned_apk

@set df=c:\myfastdeodextool-hoipai\deodexed_framework\

@set daz=c:\myfastdeodextool-hoipai\deodexed_zipaligned_apk

@set baksmali=c:\myfastdeodextool-hoipai\bin\baksmali-1.3.4.jar

@set smali=c:\myfastdeodextool-hoipai\bin\smali-1.3.4.jar

@set zip=c:\myfastdeodextool-hoipai\bin\zip.exe

@set zipalign=c:\myfastdeodextool-hoipai\bin\zipalign.exe

@set apilevel=15

if exist *res.apk (@move *res.apk %df% >>nul)

:dfw

@echo This error log can be ignored because of the reason "Odex file are not exist">>c:\myfastdeodextool-hoipai\err.txt

@echo. >>c:\myfastdeodextool-hoipai\err.txt

@echo Start deodex Framework >> c:\myfastdeodextool-hoipai\deodex.log

@if exist c:\myfastdeodextool-hoipai\out (rmdir /s /q c:\myfastdeodextool-hoipai\out)

@set filetype=jar

@echo Creating Jar file list ...

@dir c:\myfastdeodextool-hoipai /b | findstr /m .jar >>c:\myfastdeodextool-hoipai\jarfile.txt

@for /F "delims=" %%a in (c:\myfastdeodextool-hoipai\jarfile.txt) do @echo Baksmali %%~na.odex ... && @echo. && java -Xmx512m -jar %baksmali% -a %apilevel% -x %%~na.odex 2>>c:\myfastdeodextool-hoipai\err.txt && @echo Smali ... && @echo. && java -Xmx512m -jar %smali% -a %apilevel% -o classes.dex out && @echo Merge %%~na.%filetype% ... && @echo. && @%zip% -r -q %%~na.%filetype% classes.dex && @echo Delete classes.dex && @echo. && @del /f /q c:\myfastdeodextool-hoipai\classes.dex && @echo Delete out folder ... && @echo. && rmdir /s /q c:\myfastdeodextool-hoipai\out && @echo Deodexed %%~na.%filetype% && @echo. && @echo =========================================================== && @echo ( %%~na.%filetype% ) - was deodexed successfully! >> c:\myfastdeodextool-hoipai\deodex.log

@echo Moving Done framework to deodexed_framework\

@move c:\myfastdeodextool-hoipai\*.%filetype% %df%

@echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> c:\myfastdeodextool-hoipai\deodex.log

@echo Deodexed Framework >> c:\myfastdeodextool-hoipai\deodex.log

@echo. >> c:\myfastdeodextool-hoipai\deodex.log

@del /f /q c:\myfastdeodextool-hoipai\jarfile.txt

@goto da

:da

@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> c:\myfastdeodextool-hoipai\deodex.log

@echo Start Deodex and Zipalign APK >> c:\myfastdeodextool-hoipai\deodex.log

@echo. >> c:\myfastdeodextool-hoipai\deodex.log

@set filetype=apk

@echo Creating Apk file list ...

@dir c:\myfastdeodextool-hoipai /b | findstr /m .apk >>c:\myfastdeodextool-hoipai\apkfile.txt

@for /F "delims=" %%a in (c:\myfastdeodextool-hoipai\apkfile.txt) do @echo Baksmali %%~na.odex ... && @echo. && java -Xmx512m -jar %baksmali% -a %apilevel% -x %%~na.odex 2>>c:\myfastdeodextool-hoipai\err.txt && @echo Smali ... && @echo. && java -Xmx512m -jar %smali% -a %apilevel% -o classes.dex out && @echo Merge %%~na.%filetype% ... && @echo. && @%zip% -r -q %%~na.%filetype% classes.dex && @echo Delete classes.dex && @echo. && @del /f /q c:\myfastdeodextool-hoipai\classes.dex && @echo Delete out folder ... && @echo. && rmdir /s /q c:\myfastdeodextool-hoipai\out && @echo Deodexed %%~na.%filetype% && @echo. && @echo ( %%~na.%filetype% ) - was deodexed successfully! >> c:\myfastdeodextool-hoipai\deodex.log && @echo.& @echo.&& @echo Zipalign %%~na.%filetype% ... && @%zipalign% -v 4 c:\myfastdeodextool-hoipai\%%~na.%filetype% c:\myfastdeodextool-hoipai\%%~na.%filetype%.ZIPALIGNED && @echo. && @echo ===========================================================

@echo.

@echo Moving Deodexed APKs into deodexed_zipaligned_apk folder ...

@echo.

@move c:\myfastdeodextool-hoipai\*.apk.ZIPALIGNED c:\myfastdeodextool-hoipai\deodexed_zipaligned_apk\

@echo Renaming files

@for %%a in ("c:\myfastdeodextool-hoipai\deodexed_zipaligned_apk\*") do ren "%%a" "%%~na"

@echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>> c:\myfastdeodextool-hoipai\deodex.log

@echo Deodexed and Zipaligned APK >> c:\myfastdeodextool-hoipai\deodex.log

@del /f /q c:\myfastdeodextool-hoipai\apkfile.txt

@del /f /q c:\myfastdeodextool-hoipai\*.odex

@del /f /q c:\myfastdeodextool-hoipai\*.%filetype%

@echo All Action Completed ! Thanks for using

@pause

@goto exit

:err

@echo error found

@pause

:end

@exit

and this time i am using fix path (c:\myfastdeodextool-hoipai) rather than (%cd%)

so you need to put the tool under c:\

The folder name myfastdeodextool-hoipai is up to you ...you can name it with your own idea but pls do use the same name in the batch file

I tested this amended code on my win 7 32 bit OS , ran perfect ...without any errors...

Try it out ... Thanks for using...