Hi guys, I am just writing some code that will go through an entire folder (all sub-folders and files in it) and will open each file and search it for a search phrase. Basically, I have around 7 folders inside one folder and all these folders have txt files and I want to create a programme that will open all these files and search for the phrase. I can do everything BUT .... I just need to know if there is a command that: 1. Gives me a list of all folders in a folder 2. Gives me a list of all files in a folder I don't need all the code, I can manage the rest once I get these commands. Regards, dfsweb