Reputation: 583
I have a radio management system which is capable of running batch scripts after shows.
I'm looking for a batch script file that renames any file in the directory like so:
1.mp3 --> [Replay]1.mp3
And then move the file from folder a to folder b.
Any thoughts on how do i go about creating such script in a syntax level?
Upvotes: 0
Views: 2836
Reputation: 11
There are many ways to do what you request, this script does that by searching all mp3
files in the current folder and move them to folderb
specifying a new name.
@ECHO off
FOR %%i IN (*.mp3) DO (
MOVE "%%i" "folderb\[Replay]%%i"
)
Upvotes: 0