Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

farmerdoug

macrumors 6502a
Original poster
Sep 16, 2008
541
0
I want to perform the same set of operations on every file in a directory. How do I go through the files in a directory one at a time if I don't know the names or numbers of files in the directory? I know I can use system commands to make a list and then read the list one at a time but Microsoft C used to have routines that would take care of everything for you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.