Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SETLOCAL DisableDelayedExpansion
- SET "r=%__CD__%"
- FOR /R . %%F IN (*) DO (
- SET "p=%%F"
- SETLOCAL EnableDelayedExpansion
- ECHO(!p:%r%=! >> modlist.txt
- ENDLOCAL
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement