Skip to content

Instantly share code, notes, and snippets.

@stef-levesque
Last active May 3, 2019 02:44
Show Gist options
  • Save stef-levesque/11233090 to your computer and use it in GitHub Desktop.
Save stef-levesque/11233090 to your computer and use it in GitHub Desktop.
Batch file to compute KEY for movdump.exe
@echo off
REM The key is generated using your machine's current time.
REM The formula is 13333 + (current hour * 7113) + (current minute * 77).
REM Calc that out by hand and use it with the -key parameter then
REM you can use movdump by itself without the GUI at all.
set HH=%TIME:~0,2%
set MM=%TIME:~3,2%
set /a KEY=13333+%HH%*7113+%MM%*77
REM START "" "movdump" -key %KEY% %*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment