; ----------------------------------------------- #include #include #include ; ----------------------------------------------- _UpdateSrcAudio() ; ----------------------------------------------- Func _UpdateSrcAudio() Local $sTextFolder = "I:\Live_Rig\Scripts\Development\_RenameAudioData\ioa747\FileListing.txt" Local $sNewName = FileReadToArray($sTextFolder) ;Local $iLineCount = @extended ; ----------------------------------------------- Local $sDataFolder = "I:\Live_Rig\Scripts\Development\_RenameAudioData\ioa747\Audio\" Local $sOldName = _FileListToArray($sDataFolder, "*.wma") ; ----------------------------------------------- For $i = 0 To UBound($sNewName) - 1 FileMove($sDataFolder & $sOldName[$i + 1], $sDataFolder & $sNewName[$i] & ".wma", $FC_OVERWRITE) Next EndFunc ;==>_UpdateSrcAudio ; -----------------------------------------------