#NoEnv
;#NoTrayIcon
#SingleInstance ignore
SetWorkingDir,%A_ScriptDir%
Splitpath, A_ScriptFullPath,,,,title
FileDelete,%A_Temp%\%title%_output.txt
Loop,Read,%title%.ini
{
Loop,%A_LoopReadLine%\*.*,0,1
Files = %files%`n%A_LoopFileLongPath%
}
Loop, parse, Files, `n
{
SplitPath, A_LoopField, FileName, DirName
StringReplace, Files, Files, %FileName%, Nothing, UseErrorLevel
If Errorlevel = 1
{
If Unique =
Unique = Unique files found:`n`n%DirName%\%FileName%
else
Unique = %Unique%`n%DirName%\%FileName%
}
}
If Unique =
MsgBox, No unique files found.
else
{
FileAppend, %Unique%, %A_Temp%\%title%_output.txt
Run,Notepad %A_Temp%\%title%_output.txt
}