I'm working on a web site that allows a user to read the contents of a source folder (which contains various subfolders and files including a text file named "theID.txt"), creates a copy of all these sub folders and files from the templated folder, and automatically writes an integer into the new theID.txt file.
I now need to able to delete a folder based off of the integer written into theID.txt.
I know I can create a database entry that catalogs each folder and associates it with an integer, but I dont want to worry about someone physically renaming the folders and the database no longer having the correct folder name.
My fall back option is going to be just manually deleting a folder instead of doing it through the UI.
So my question is: Is there a way to read the integer of theID.txt for every single folder inside of one common folder (ie. \allfolders\folder1\theID.txt, \allfolders\folder2\theID.txt, \al ...
Go to the complete details ...