#pragma compile(Console,True) Local $aR=StringSplit(FileRead($CmdLine[1]),@CRLF&@CRLF,1) ForNest() Func ForNest($iLevel=1, $sLine="") Local $aOpts=StringSplit($ar[$iLevel], @CRLF,3) For $sOpt In $aOpts If $iLevel<$ar[0] Then ForNest($iLevel+1, $sOpt &","& $sLine) Else ConsoleWrite($sLine & $sOpt &@CRLF) EndIf Next EndFunc