Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
msctls_progress32 to function
#1
How can I create msctls_progress32 to this function:

Code:
Copy      Help
function str'archivo ARRAY(str)&encontrados
;ARRAY(str) encontrados
;out filefind("notepad.exe" encontrados)
;int i
;for i 0 encontrados.len

,;out encontrados[i]

str comando
str temp.expandpath("$Temp$")
if(dir("$Temp$\resultados.txt"))
,del "$Temp$\resultados.txt"
ChDir "C:\"
comando.format("/c dir %s /b/s>%s\resultados.txt" archivo temp)
run "%COMSPEC%" comando "" "" 2
;texto
str texto.getfile("$Temp$\resultados.txt")
err
,1
,goto texto
;out texto
encontrados=texto
ret encontrados.len


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)