I need to create a large number (2500+) of directories on my computer.
I have a text field that will consist of rows of data like:
atlanta
los_angeles
detroit
new_york
I'm reading these in from a text file.
I'm trying to figure out the code that will read each line in the text field and create a directory based on each line. i.e. e:\files\atlanta , e:\files\los_angeles , e:\files\detroit , e:\files\new_york
If possible I'd also like it save a blank file called data.txt in the created directory.
Any help welcomed.
Thanks,
Jeri
I have a text field that will consist of rows of data like:
atlanta
los_angeles
detroit
new_york
I'm reading these in from a text file.
I'm trying to figure out the code that will read each line in the text field and create a directory based on each line. i.e. e:\files\atlanta , e:\files\los_angeles , e:\files\detroit , e:\files\new_york
If possible I'd also like it save a blank file called data.txt in the created directory.
Any help welcomed.
Thanks,
Jeri