User Tools

Site Tools


scanning_20a_20directory_20_28reading_20directory_20entries_29

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

scanning_20a_20directory_20_28reading_20directory_20entries_29 [2018/03/31 13:19]
127.0.0.1 external edit
scanning_20a_20directory_20_28reading_20directory_20entries_29 [2018/04/17 18:36] (current)
tbest3112 Added syntax highlighting
Line 4: Line 4:
 ==== Tree Walking ==== ==== Tree Walking ====
  It is a simple modification to the code to "tree walk", that is to recursively descend into subdirectories from a specified starting point. The following pair of subroutines do this:​\\ ​  It is a simple modification to the code to "tree walk", that is to recursively descend into subdirectories from a specified starting point. The following pair of subroutines do this:​\\ ​
 +<code bb4w>
         DEF PROCScan_Dir(path$)         DEF PROCScan_Dir(path$)
         LOCAL dir%, sh%, res%         LOCAL dir%, sh%, res%
Line 52: Line 53:
         :         :
         ENDPROC         ENDPROC
 +</​code>​
 For example, calling with **PROCScan_Dir("​C:​\Program Files"​)** will recursively scan all the subdirectories within //​C:​\Program Files//.\\ \\  See [[http://​tech.groups.yahoo.com/​group/​bb4w/​files/​WindowsAPI/​TreeScan.bbc|TreeScan.bbc]] in the BB4W Yahoo! Group [[http://​tech.groups.yahoo.com/​group/​bb4w/​files/​|file area]].\\ \\  For example, calling with **PROCScan_Dir("​C:​\Program Files"​)** will recursively scan all the subdirectories within //​C:​\Program Files//.\\ \\  See [[http://​tech.groups.yahoo.com/​group/​bb4w/​files/​WindowsAPI/​TreeScan.bbc|TreeScan.bbc]] in the BB4W Yahoo! Group [[http://​tech.groups.yahoo.com/​group/​bb4w/​files/​|file area]].\\ \\ 
 ==== Technical Note ==== ==== Technical Note ====
scanning_20a_20directory_20_28reading_20directory_20entries_29.txt ยท Last modified: 2018/04/17 18:36 by tbest3112