DonationCoder.com Software > Finished Programs
DONE: make folder set out of a txt file
reddie247:
I'm a photographer an need to make a tree of folders with names of customers. I have a customer list in an .xls or .txt file, can this be done automatically so it saves me much time. can someone help me, i just downloaded autohotkey or is there an other way to do this.
Thanx a bunch
Edwin From www.Medsofoto.nl
scancode:
I'm a photographer an need to make a tree of folders with names of customers. I have a customer list in an .xls or .txt file, can this be done automatically so it saves me much time. can someone help me, i just downloaded autohotkey or is there an other way to do this.
Thanx a bunch
Edwin From www.Medsofoto.nl
-reddie247 (March 12, 2009, 07:00 AM)
--- End quote ---
Hello there.
Let's say you have a file called clients.txt with the following contents
Albert\Birthday
Albert\Wedding
John\Daughter\Birthday
John\Sister\Wedding
Martin
Michael
John Doe
the console command
for /f "delims=" %t IN (clients.txt) do mkdir "%t"
will create the following folder structure, without needing an external program
Have fun, and welcome to the forums!
scancode:
Oh, in case the command line scares you, here's a little batch file.
Just drop it where your clients.txt file lays, and double click it.
skwire:
Slick batch command, scancode. Nice.
reddie247, if the commandline isn't your thing, I've whipped together an AHK script with a GUI if you're interested.
DONE: make folder set out of a txt file
reddie247:
thanx scancode it worked just fine, just had to replace all tabs for spaces
Navigation
[0] Message Index
[#] Next page
Go to full version