1 = Both 2 = No 3 = Yes.įileAttrHidden,1,Specifies the file attributes filter. 1 = Both 2 = No 3 = Yes.įileAttrSystem,1,Specifies the file attributes filter. 1 = Bytes 2 = KB 3 = MB 4 = GBįileAttrReadOnly,1,Specifies the file attributes filter. 1 = Bytes 2 = KB 3 = MB 4 = GBįileSizeAtMostUnit,1, Specifies the units of file size filters. 1 = Yes 0 = No.įileSizeAtLeast,0,Specifies the values of file size filters.įileSizeAtMost,0,Specifies the values of file size filters.įileSizeAtLeastUnit,1,Specifies the units of file size filters. UseFileSizeAtMost,0,Specifies whether to use the "At Least" and "At Most" file size filter. UseFileSizeAtLeast,0,Specifies whether to use the "At Least" and "At Most" file size filter. 1 = Yes, 0 = No.įindFolders,0,Specifies whether to find folders. 1 = Yes 0 = No.įindFiles,1,Specifies whether to find files. ScanSubfolders,1, Specifies whether to search in subfolders. SubfoldersWildcard,*, Specifies the files wildcard.īaseFolder,"D:\_ytest2017",click to fire dialog.Specifies the base folders to search. Text to m.myvar pretext 7 textmerge noshowįilesWildcard,*,Specifies the files wildcard. If !used("ycurs0") &preserve cursor for re use and modifyĬreate cursor ycurs0 (option c(30),xval c(100),info c(250)) Messagebox("SearchMyFiles.exe must be in source folder mandatory to run this application!",16+4096,"Error",4000)Ĭaption = " Options settings- column2(xVAL) modifiable - can re run the form."ĪDD OBJECT command1 AS commandbutton WITH The zip contains the project with complet files and exe compiled with vfp9sp2.įiles running with this prg: ysearch.prg,searchmyfiles.exe,searchmyfiles.chm,find.ico.Ĭlick on code to select -click outside to deselect *1* created on tuesday 16 of january 2018 Note: if there is no files in grid sure thre is an error in the command line.review your settings in the first form.įor redistribution read licence in the author site. Warning: if the search traverse big folders it needs a time to achieve (as windows explorer does also)-(1 to many minutes).the ellapsed time is in statistics menu option. for file edit (procedure yedit): ctrl+f to fire dialog search-f3 to continue search-esc to close window opened).vfp edit files as text (even pictures.) Running the app and learning well the options can perform any search files with very advanced parameters. In grid each header can be order ascending or descending by simple click on (inde are built on character expressions).Ĭlosing the second form and modifying the options in first form can re run the app easily to obtain results searched.the first main form is then reusable for many searches by the user. filename,folder,size (in unit set initially),modified dateTime,Created dateTime,Last accessed DateTime,Attribute,Extension,Short filename,FileOwner,Size on Disk). These menus are fired with bindevent function. Of course can print html reports in their specific contextuel menu. The form have also a contextuel menu (options selected,statistics,grildlines(0-1-2-3),fontsize,search any word,export to html(vert-hor),original help,vfp help) this can replace the associated application icon.Įach row have a ontextuel menu to ( edit file,browse folder,run with associated app,properties,record fields) To do: attach specific icon for each file (prg,form,report.). The dynamicBackcolor builds these png images. The grid builds also the extracted icons in first column: first icon from the filename associated application or from shell32.dll if associated app not found) This grid have the columns retained above and looks like to be a windows listView. The search result is built in another form with a vfp grid. click or rightclick on xval column to fire a contextuel menu. The modified options are in the second column of grid (read the info for each parameter.can modify it(there is a contextuel menu in each column.text1)Ĭlick on option "folder " to fire a dialog to select a folder. Running this form, built a tabbed txt file whose is appended in a vfp cursor.(the txt file is mandatory converted from unicode to double bits by strconv() function supported by vfp9.(otherwise no data in vfp because vfp is not unicode).Ī second cursor (with select statement) cleans the first for retaining only interesting fields. There is nearly 38 options used in this vfp application.(original app have near 50 parameters).majority of params are 0|1 values. I built a top level form gathering a majority of command lines options.these can be modified interactively for making a new search. I made a personal challenge to make this app running from vfp. In my think its better than windows explorer.can run with windows32 or 64 bits and with command lines also. SearchMyFiles is a free nirSoft advanced Application for searching in files
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |