Category: MS-Dos

0

Batch – Rename files in MS Dos

RenameFiles.cmd ::input    “C# dan – 3 – test.txt” ::output    “C# – 3 – test.txt” @echo off setlocal EnableDelayedExpansion for %%a in (*.txt) do ( set name=%%~Na ::from left to right set newName=!name:~0,3!!name:~7!...