|
Post by colinmac on Oct 27, 2007 7:27:00 GMT -5
If you are anything like me, you can never remember the most recent name you used for your developing project. the following code reads your run basic personal directories to give not just the project title, but also the time last accessed. Thanks to Carl for help in this.
I will try to post this on the wiki, but I am not sure yet how the wiki works.
Colin
' file finder files #rbdir, "c:\rbp\*" for x = 1 to #rbdir rowcount() #rbdir nextfile$() if #rbdir isdir() then dir$ = #rbdir name$() bas$ = left$(dir$, len(dir$)-8 ) basfile$ = dir$ +"\" + bas$ + ".bas" files #rbbas, basfile$ if #rbbas hasanswer()then #rbbas nextfile$() print left$(#rbbas name$()+" ", 35); #rbbas date$(); " "; #rbbas time$() end if end if next x wait
|
|