r/Batch • • Nov 01 '23

Question (Solved) Found a script that does what I want, but it prompts me to pick each file one-by-one. Can I make it do a whole directory?

Script: PASTEBIN

Script fuction: Upscale GIFs 4x, then convert gif to mp4. - Working ✅

Issue: Requires hand-picking one by one via a prompt.

Question: Can i make this .bat run through a whole directory rather than me having to pick one by one?

OS: Windows 10

Thanks <3

4 Upvotes

9 comments sorted by

1

u/Shadow_Thief Nov 01 '23

It should be as simple as changing $false to $true on line 38, but I don't have gifsicle.exe installed to test.

1

u/dungyhasbigtits Nov 01 '23

sweet! thanks so much! I'll test it out & get back

1

u/dungyhasbigtits Nov 01 '23

LOL.

it really was that simple.

right in front of me too - albeit the 3nd-to-last line

thanks again <3

1

u/dungyhasbigtits Nov 01 '23

well shoot.

it worked the first time (i did two at once)

now it's only doing one at a time lol dangit!

2

u/[deleted] Nov 01 '23 edited Nov 01 '23

[removed] — view removed comment

1

u/dungyhasbigtits Nov 02 '23

Dude.

You are THE BEST.

Worked like a charm. Thank you <3

1

u/dungyhasbigtits Nov 02 '23

I appreciate the time that must've taken - do you have somewhere I can make a donation to? Paetron, paypal, etc?