topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 8:43 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: DONE: make folder set out of a txt file  (Read 128853 times)

reddie247

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
DONE: make folder set out of a txt file
« on: March 12, 2009, 07:00 AM »
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

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #1 on: March 12, 2009, 07:18 AM »
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

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

asdasd.PNG

Have fun, and welcome to the forums!

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #2 on: March 12, 2009, 07:25 AM »
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

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #3 on: March 12, 2009, 07:53 AM »
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.
2009-03-12_080112.pngDONE: make folder set out of a txt file
« Last Edit: March 12, 2009, 08:02 AM by skwire »

reddie247

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #4 on: March 14, 2009, 06:28 PM »
thanx scancode it worked just fine, just had to replace all tabs for spaces

adrienne

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #5 on: May 18, 2009, 01:38 PM »
Skwire, I'd be very interested in the AHK script, can you post it?

Thanks!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #6 on: May 18, 2009, 02:52 PM »
Skwire, I'd be very interested in the AHK script, can you post it?

Sure: Text 2 Folders
« Last Edit: November 18, 2009, 03:35 AM by skwire »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #7 on: March 06, 2010, 06:21 PM »
Website | Download
v1.0.3 - 2010-03-06
    ! Fixed some 120 DPI graphical issues.  (Thanks, TT1)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #8 on: June 30, 2010, 09:43 AM »
I use a similar program to create folders and subfolders inside a folder.
The script from Skwire is splendid and may be improved to the eleventh desire. Simply controlling an historial of the last text files and the last root folders used with a dropdownlist for the two options controlled by an ini file.
Very useful to organize matters or incidents according to patterns in the text files.

And may be improved with the possibility to create folders and subfolders. Two levels is enough. And a new window in the gui main windows of the program.

 :P

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #9 on: June 30, 2010, 10:00 AM »
I use a similar program to create folders and subfolders inside a folder.
The script from Skwire is splendid and may be improved to the eleventh desire. Simply controlling an historial of the last text files and the last root folders used with a dropdownlist for the two options controlled by an ini file.
Very useful to organize matters or incidents according to patterns in the text files.

I'll consider adding this.

And may be improved with the possibility to create folders and subfolders. Two levels is enough.

You can already do this.  Simply make your text file like this:

Folder1\Subfolder1\SubSubfolder1
Folder2
Folder3\Subfolder3
...

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #10 on: June 30, 2010, 05:54 PM »
I use a similar program to create folders and subfolders inside a folder.
The script from Skwire is splendid and may be improved to the eleventh desire. Simply controlling an historial of the last text files and the last root folders used with a dropdownlist for the two options controlled by an ini file.
Very useful to organize matters or incidents according to patterns in the text files.

 ;D Splendid. Then is more simple. I'll apply .
Best Regards.

I'll consider adding this.

And may be improved with the possibility to create folders and subfolders. Two levels is enough.

You can already do this.  Simply make your text file like this:

Folder1\Subfolder1\SubSubfolder1
Folder2
Folder3\Subfolder3
...

Perfect then. I'll apply in this way. Is better than two text files.

 :P

delwoode

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 146
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #11 on: April 06, 2011, 04:55 AM »
@ScanCode,   the batch file you posted.  Where does it create the folder structure.
I mean if I have the text fie  and the batch file in this folder eg
C:\test folder
will it create the folder structure inside this test folder or on the root drive?
« Last Edit: April 06, 2011, 04:57 AM by delwoode, Reason: got name wrong! »

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #12 on: April 06, 2011, 01:50 PM »
It creates the folders under the directory it's being run from.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #13 on: September 28, 2011, 01:36 PM »
featured on cybernet news today. :up:

http://cybernetnews....bulk-create-folders/

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #14 on: October 02, 2011, 10:10 PM »
and also in lifehacker.. ;)

http://lifehacker.co...many-folders-at-once

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #15 on: October 03, 2011, 09:42 AM »
Sheesh, I really should improve this app, eh?   ;)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #16 on: March 24, 2012, 11:57 PM »
This has been a long time coming...

Website | Download
v1.0.4 - 2012-03-24
    + Unicode compatible.
    + Added manual entry edit field.
    + Paths are saved.
    + Can now create a shortcut in your SendTo menu.  Use the Options menu.
    * Now accepts the root folder path as a commandline argument.  Useful for scripts.


main.pngDONE: make folder set out of a txt file
« Last Edit: March 25, 2012, 09:30 AM by skwire »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #17 on: March 25, 2012, 08:56 AM »
Then is time to come to see your new creation

Best Regards
 :-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #18 on: March 25, 2012, 09:11 AM »
I am doing something bad. I try to set the root folder in the desktop
M:\Documents and Settings\JOSE\Escritorio
and create 4 folders : pepe, pepe2, pepe3 and pepe4
but I obtain this window :
Please select a valid root folder
 :(


Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #19 on: March 25, 2012, 09:13 AM »
I tried with a folder
M:\Text2Folders but with the same result.

May be my system ? windows xp pro + sp3

 :P

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #20 on: March 25, 2012, 09:15 AM »
I observed in your web that the symbol is not \ , but other

I will try

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #21 on: March 25, 2012, 09:16 AM »
No, it was my fault:

Website | Download
v1.0.5 - 2012-03-25
    ! Erroneous error checking of the text file field.  (Thanks, Contro)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #22 on: March 25, 2012, 09:27 AM »
Perfect then. I had the ¥ character ready
I try again
 :-*


Nice
Very Quick

Best Regards
 ;D

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #23 on: May 10, 2012, 08:46 PM »
Mentioned on freewaregenius today:
http://www.freewareg...ch-with-text2folders

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: make folder set out of a txt file
« Reply #24 on: May 11, 2012, 12:08 AM »
Yeehaw.   :D   It's funny how much press this app gets for how simple it is.