; ----------------------------------------------- #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 $aArray2 = _FileListToArray($sDataFolder, "*.*", $FLTA_FILES) ; ----------------------------------------------- For $i = 0 To $iLineCount - 1 FileMove($sDataFolder & $aArray2[$i + 1], $sDataFolder & $sNewName[$i] & ".wma", $FC_OVERWRITE) Next EndFunc ;==>_UpdateSrcAudio ; -----------------------------------------------