|
reddie247
|
 |
« on: March 12, 2009, 07:00: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
|
|
|
|
|
Logged
|
|
|
|
|
scancode
|
 |
« Reply #1 on: March 12, 2009, 07:18:05 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.nlHello 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!
|
|
|
|
|
Logged
|
|
|
|
|
scancode
|
 |
« Reply #2 on: March 12, 2009, 07:25:13 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. make_clients.zip (0.27 KB - downloaded 861 times.)
|
|
|
|
|
Logged
|
|
|
|
|
|
skwire
|
 |
« Reply #3 on: March 12, 2009, 07:53:50 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. 
|
|
|
|
« Last Edit: March 12, 2009, 08:02:01 AM by skwire »
|
Logged
|
|
|
|
|
reddie247
|
 |
« Reply #4 on: March 14, 2009, 06:28:15 PM » |
|
thanx scancode it worked just fine, just had to replace all tabs for spaces
|
|
|
|
|
Logged
|
|
|
|
|
adrienne
|
 |
« Reply #5 on: May 18, 2009, 01:38:22 PM » |
|
Skwire, I'd be very interested in the AHK script, can you post it?
Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #6 on: May 18, 2009, 02:52:21 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:07 AM by skwire »
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #7 on: March 06, 2010, 06:21:42 PM » |
|
Website | Download v1.0.3 - 2010-03-06 ! Fixed some 120 DPI graphical issues. (Thanks, TT1)
|
|
|
|
|
Logged
|
|
|
|
|
Contro
|
 |
« Reply #8 on: June 30, 2010, 09:43:49 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. 
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #9 on: June 30, 2010, 10:00:35 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 ...
|
|
|
|
|
Logged
|
|
|
|
|
Contro
|
 |
« Reply #10 on: June 30, 2010, 05:54:45 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.
 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. 
|
|
|
|
|
Logged
|
|
|
|
|
delwoode
|
 |
« Reply #11 on: April 06, 2011, 04:55:25 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:31 AM by delwoode; Reason: got name wrong! »
|
Logged
|
|
|
|
|
scancode
|
 |
« Reply #12 on: April 06, 2011, 01:50:55 PM » |
|
It creates the folders under the directory it's being run from.
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #13 on: September 28, 2011, 01:36:50 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
lanux128
|
 |
« Reply #14 on: October 02, 2011, 10:10:54 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #15 on: October 03, 2011, 09:42:05 AM » |
|
Sheesh, I really should improve this app, eh? 
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #16 on: March 24, 2012, 11:57:48 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.
|
|
|
|
« Last Edit: March 25, 2012, 09:30:27 AM by skwire »
|
Logged
|
|
|
|
|
Contro
|
 |
« Reply #17 on: March 25, 2012, 08:56:28 AM » |
|
Then is time to come to see your new creation Best Regards 
|
|
|
|
|
Logged
|
|
|
|
|
Contro
|
 |
« Reply #18 on: March 25, 2012, 09:11:28 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 
|
|
|
|
|
Logged
|
|
|
|
|
Contro
|
 |
« Reply #19 on: March 25, 2012, 09:13:59 AM » |
|
I tried with a folder M:\Text2Folders but with the same result. May be my system ? windows xp pro + sp3 
|
|
|
|
|
Logged
|
|
|
|
|
Contro
|
 |
« Reply #20 on: March 25, 2012, 09:15:21 AM » |
|
I observed in your web that the symbol is not \ , but other
I will try
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #21 on: March 25, 2012, 09:16:09 AM » |
|
No, it was my fault: Website | Download v1.0.5 - 2012-03-25 ! Erroneous error checking of the text file field. (Thanks, Contro)
|
|
|
|
|
Logged
|
|
|
|
|
Contro
|
 |
« Reply #22 on: March 25, 2012, 09:27:41 AM » |
|
Perfect then. I had the ¥ character ready I try again  Nice Very Quick Best Regards 
|
|
|
|
|
Logged
|
|
|
|
|
mouser
|
 |
« Reply #23 on: May 10, 2012, 08:46:28 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
skwire
|
 |
« Reply #24 on: May 11, 2012, 12:08:06 AM » |
|
Yeehaw.  It's funny how much press this app gets for how simple it is.
|
|
|
|
|
Logged
|
|
|
|
|