a guest Jan 24th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- for %%i in (%cd%) do set CurrDirName=%%~nxi
- rename test.txt %CurrDirName%.ext
RAW Paste Data