I did a big search in folders for an expression in the text of the files, but need to keep the search results (without the need of every day make the search again and without the need of copy-paste to a txt because i need that expand/colapse feature. Ok, i actually created a user defined language to use in txt for this, but need to know if exist a inteligent way to do things)
for people who didnt understand what i need to save, is this (is not the search i sayd. Just an example):
Search "AAS002" (2664 hits in 701 files)
C:\TESTE\ADDIRFEC.PRG (3 hits)
Line 6: SELECT AAS002
Line 23: IF !SEEK(m.no_usuario+m.co_procedi,"AAS002")
Line 24: INSERT INTO aas002 FROM MEMVAR
C:\TESTE\BACKUP NPP\ADDIRFEC.PRG.2010-01-20_115110.bak (4 hits)
Line 4: usuArq = "AAS002" && tabela utilizada para originar os usuários
Line 34: USE aas002 ORDER icomp01 IN 0
Line 60: IF !SEEK(no_usuario+dirNovo,"AAS002")
Line 61: INSERT INTO aas002 FROM MEMVAR
C:\TESTE\BACKUP NPP\ADDIRFEC.PRG.2010-01-20_115521.bak (6 hits)
Line 14: USE aas002 ORDER icomp01 IN 0
Line 17: IF !USED("AAS002")
Line 18: USE AAS002 ORDER ICOMP01 IN 0
Line 23: SELECT AAS002
Line 40: IF !SEEK(no_usuario+"TCH05018","AAS002")
Line 41: INSERT INTO aas002 FROM MEMVAR
C:\TESTE\BACKUP NPP\ADDIRFEC.PRG.2010-01-20_115620.bak (3 hits)
Line 7: SELECT AAS002
Line 24: IF !SEEK(no_usuario+"TCH05018","AAS002")
Line 25: INSERT INTO aas002 FROM MEMVAR
C:\TESTE\BACKUP NPP\ADDIRFEC.PRG.2010-01-20_141731.bak (3 hits)
Line 5: SELECT AAS002
Line 22: IF !SEEK(no_usuario+"TCH05018","AAS002")
Line 23: INSERT INTO aas002 FROM MEMVAR
C:\TESTE\BACKUP NPP\ADDIRFEC.PRG.2010-01-20_141813.bak (3 hits)
Line 5: SELECT AAS002
Line 22: IF !SEEK(m.no_usuario+m.co_procedi,"AAS002")
Line 23: INSERT INTO aas002 FROM MEMVAR
.
.
.
search can take 10min some times and the result will never change so if i can save it, is good.
thanks
PS.: how do i make indentation in the code tag? here i used spaces because it was a copy-paste of my test-search and i see in preview that will not keep the space indentation and i cant do "tab" because is a webpage.