Scripting in dos is completely new for me and I will really appreciate some help! I've looked at other postings in the forum and still haven't made much progress.
I need a script that will enter all sub folders one level down, check if the folder contains a .srt file, and if found rename it to the same file name (without extention) as the video file in that folder.
Each sub folder contains only contains one video file, it can be either an .avi , .mkv or .iso
Folder 1: abc.srt ; moviefile.avi
Folder 2: def.srt ; moviefile2.avi
With the script executed in ROOT folder, abc.srt is renamed to moviefile.srt
def.srt is renamed to moviefile2.srt (files remain in their original folders)
If someone can help, i'd really appreciate it.