[autoit]
#include <array.au3>
#include <File.au3>
$txt1=_FileListToArray("c:\testdir1\","*","2")
$txt2=_FileListToArray("c:\testdir2\","*","2")
$ret = _GetIntersection($txt1, $txt2, 0, ' ')
$diff1 = ''
$diff2 = ''
If Not @error Then
For $i = 0 To UBound($ret) -1
If $ret[$i][1] <> '' Then $diff1 &= $ret[$i][1] & ' ; '
If $ret[$i][2] <> '' Then $diff2 &= $ret[$i][2] & ' ; '
Next
EndIf
MsgBox(0, '', 'Unterschiede 1: ' & $diff1 & @LF & 'Unterschiede 2: ' & $diff2)
Das Ergebniss sieht so aus:
.....Dir1; ....dir2 ; ....Dir Mytest ;
Wie bekomme ich nun eine Liste in der Form:
"....Dir1" "....Dir2" ".... Dir Mytest"
Gar nicht so einfach, das ganze