Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo on
- set DIR1="C:UsersMyDesktoptemp"
- set DIR2="C:MiscProgramsEasyImgur"
- set DIR3="C:UsersMyDesktop"
- set DIR2=%DIR2:"=%
- set DIR3=%DIR3:"=%
- forfiles /m *.png /p %DIR1% /c "cmd /c %DIR2%EasyImgur.exe /anonymous @path && timeout /t 2 /nobreak > NUL && paste > %DIR3%temp.txt && set /p URL= < %DIR3%temp.txt && echo if(G9="@fname",IMAGE(%URL%,3), >> %DIR3%test.txt"
- del %DIR3%temp.txt
- pause
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement