Last active
November 29, 2017 06:46
-
-
Save mechawrench/550642c8b3eb39a1f02e0a91f0eb3759 to your computer and use it in GitHub Desktop.
Batch copy + rename, windows (D2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
for /L %%i IN (1,1,100) do call :docopy %%i | |
goto end | |
:docopy | |
set FN=%1 | |
set FN=%FN:~-3% | |
copy game.exe game_%FN%.exe | |
:end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment