1.

Solve : .Bat File For Renaming Files That Are Allways Changing?

Answer» <html><body><a href="https://interviewquestions.tuteehub.com/tag/hi-479908" style="font-weight:bold;" target="_blank" title="Click to know more about HI">HI</a> There <br/><br/>I Wanting To Undergo A Tricky Operation How To Rename Files Without Specifying<br/><br/>There Names   Example File 1 To 01.<a href="https://interviewquestions.tuteehub.com/tag/mp3-548945" style="font-weight:bold;" target="_blank" title="Click to know more about MP3">MP3</a> File 2 to 02.mp3<br/><br/>Using This .Bat  File For My Sonic 2 Mp3 tool<br/><br/><br/>Any Help Will Be Greatly Appreciated Code: <a>[Select]</a>echo off<br/><a href="https://interviewquestions.tuteehub.com/tag/set-11758" style="font-weight:bold;" target="_blank" title="Click to know more about SET">SET</a> ext=mp3<br/>setlocal ENABLEDELAYEDEXPANSION<br/>set path2=C:\test<br/>set a=1<br/>dir /s %path2%.\*.%ext% /b &gt;%path2%.\%ext%.dir<br/>for /f "delims=" %%a in (%path2%.\%ext%.dir) do (<br/>set b=!a!<br/>if !a! lss 10 set b=0!b!<br/>ren "%%a" !b!.%ext%<br/>set /a a=!a!+1<br/>)<br/>del %path2%.\%ext%.dirC:\test is the folder of the mp3 files  That Has <a href="https://interviewquestions.tuteehub.com/tag/workedralvaja-3284364" style="font-weight:bold;" target="_blank" title="Click to know more about WORKED">WORKED</a> Thanks So Much</body></html>


Discussion

No Comment Found