hello i want to write a programme that creates (lets say) 700 folders and numbers the from 1 to 700 and if its possible to take contents from a txt file to put after the number...
if anyone can help me get started it would be gr8 i just never changed a file/folder name from a programme
thanks in advance :)
dv1r
-1
Light Poster
Recommended Answers
Jump to PostOut the door, two doors down, on the left
You'll find DW's very own perl forum.But to whet your appetite, read from a file, or stdin, and create directories
#!/usr/bin/perl -w use strict; while ( <> ) { chomp; mkdir $_; }
All 3 Replies
Salem
5,138
Posting Sage
dv1r
-1
Light Poster
Salem
5,138
Posting Sage
Aia
commented:
Real man never ask for directions. Ha, ha.
+9
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.