say I have a directory /user with 3 subdirectories /user/code, /user/docs, /user/pics.
my program is in /user, how do I do it find out 1. how many subdirectories there are and 2. get their names into variables.
what my program does, it copies a file into every directory of a whole (large) webserver. but it has to output the names of all the directories it put the file in and it has to omit some directories.
I hope someone understands me and can help!
thank you!
N8760