Break OnDim $SO$SO=SetOption('Explicit','On')$SO=SetOption('NoVarsInStrings','On')$SO=SetOption('NoMacrosInStrings','On') Dim $Path, $Dest, $File, $Files, $Folder, $Folders$Path = 'C:\Office\Type'$File = 'logfile.txt'$Dest = 'C:\TEMP\AllUserLogFiles.txt'If Exist($Dest) Del $DestEndIf$Folders = DirL($Path)For Each $Folder In $Folders If $Folder If Exist($Path+'\'+$Folder+'\'+$File) $Files = $Files + '+' + $Path+'\'+$Folder+'\'+$File EndIf EndIfNextSHELL '%Comspec% /c COPY ' + Right($Files,-1) + ' ' + $Dest + ' >nul 2>nul ''File copy status: ' + @ERROR + ' - ' + @SERROR ? Function DirL($f) Dim $a[0] $f = Dir($f) While Not @ERROR If $f <> '..' And $f <> '.' $a[UBound($a)] = $f ReDim Preserve $a[UBound($a)+1] EndIf $f = Dir() Loop If UBound($a) ReDim Preserve $a[UBound($a)-1] Else $a = 0 EndIf $DirL = $aEndFunction
Generated in 0.092 seconds in which 0.027 seconds were spent on a total of 12 queries. Zlib compression enabled.
") !=-1) { tempah=tempah.substring(tempah.indexOf("")+5,tempah.indexOf("")); codes[i].innerHTML="" + dotag(tempah.substring()) + ""; } } //var pres = document.getElementsByTagName("pre"); //for (var i=0, maxi = pres.length; i < maxi; i++) { // var tempah = pres[i].innerHTML; // if (tempah.indexOf("[postprep") !=-1) { // tempah=tempah.substring((tempah.indexOf("]",tempah.indexOf("[postprep"))+1)); // pres[i].innerHTML=dotag(tempah); // } //} function ytag(which_one) { var codes = document.getElementsByClassName("ubbcode-body"); var thisone = codes[which_one].innerHTML; codes[which_one].innerHTML = "" + dotag(thisone.substring(5+thisone.indexOf(""),thisone.indexOf(""))) + ""; var heads = document.getElementsByClassName("ubbcode-header"); heads[which_one].innerHTML = "Code:" + ' '; } function ttag(which_one) { var codes = document.getElementsByClassName("ubbcode-body"); var thisone = ""; if (codes[which_one].innerText != undefined) { thisone += codes[which_one].innerText; } else { thisone += codes[which_one].textContent; } codes[which_one].innerHTML = thisone + ""; var heads = document.getElementsByClassName("ubbcode-header"); heads[which_one].innerHTML = "Code:" + ' '; }
")+5,tempah.indexOf("
" + dotag(tempah.substring()) + "
" + dotag(thisone.substring(5+thisone.indexOf(""),thisone.indexOf(""))) + "
"),thisone.indexOf("
"; if (codes[which_one].innerText != undefined) { thisone += codes[which_one].innerText; } else { thisone += codes[which_one].textContent; } codes[which_one].innerHTML = thisone + "