Example:
xxxx123.asc, xxxx124.asc, xxxx125.asc need to end up Y123, Y124, Y125 (no extension).Needs to be incorporated into a batch file
setlocal EnableDelayedExpansion pushd Your_Directory for %%j in (*.asc) do ( set file=%%~nj ren %%j Y!file:~4! ) popd endlocal
Exactly what I needed! Thanks a lot!
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |