Not really, the file system will cache the files and directory information, but this is not saving the information you want.
You can do fancy things in batch files but this is extreme, cryptic and not advised. Check
JPsoft TCC/LE
You are better off doing these things in "higher level languages".