Advertisement
VikeStepFTB

Changelog.bat

Dec 23rd, 2013
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.17 KB | None | 0 0
  1. SETLOCAL DisableDelayedExpansion
  2. SET "r=%__CD__%"
  3. FOR /R . %%F IN (*) DO (
  4.   SET "p=%%F"
  5.   SETLOCAL EnableDelayedExpansion
  6.   ECHO(!p:%r%=! >> modlist.txt
  7.   ENDLOCAL
  8. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement