[1 / 1 / ?]

No.51024189 ViewReplyReportDelete
Hey, /g/. I need help to find a way to increment a variable in a batch script, it would refer to folders in a directory, check the latest number, and add 1.
Since I have no idea how to do it I've been using %random%
it shows up like pic related, and you have to sort by modify date

Here's the code. Any help would be appreciated.
http://pastebin.com/sjkmNjLf