npocmaka / batch.scripts

batch script utils and examples by npocmaka -
https://www.linkedin.com/in/npocmaka/
MIT License
1.08k stars 873 forks source link

scale.bat dosnt work anymore #21

Open Warsheep-GER opened 5 years ago

Warsheep-GER commented 5 years ago

Hey ther. i used the scale.bat and its worked since long time and now its dont scale it :(

since 2 days the scale.bat dosnt scale my .jpg anymore. i tryed with 1 line comands and with only defaults sets. nothing worked. if ther any updates on windows 10 i missed to check or is somthing else? i cant explain it on me.

both systems (pc and laptop(windows 10 on both)) have this problem.

i used the scale.bat in original with only changed this defaults var maxWidth=300; var maxHeight=300; var force=true;

and i call it with this line: for /f "delims=" %%X in ('dir /s /a-h /b *Folder.jpg') do (call scale.bat -source "%%~dpXFolder.jpg" -target "jpg") & (attrib +H "%%~dpXFolder.jpg")

npocmaka commented 5 years ago

@Warsheep-GER - thanks. I'll try to check this during the weekend.