Not sure if this would be easier or not...the the following AutoIt script should generate a new map file based off folder names. #include <File.au3> $FileList = _FileListToArray( @ScriptDir , '*' , 2 ) $file = FileOpen( 'FretsonFire.map' , 2 ) For $i = 1 to $FileList[0] FileWriteLine( $file , $FileList[$i] & '|' & $FileList[$i] ) Next FileClose( $file )