Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have Windows 7 (English) and I want to create many folders from a text with Greeks names (I'm Greek).

Do you know any program (especially freeware) or a command line trick to get my job done ? Thank you very much.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

You could do this with the FOR command in dos calling MD to create directories:

Example. Create a text file with a folder name on each line, and save as test.txt then on the command line run:

FOR /F %i in (test.txt) do md %i

Not sure if Greek names require unicode, and how the above would be affected by that though.

share|improve this answer
    
Thanks Matthew for the quick reply. I will try that. –  labmice Aug 13 '10 at 5:53
1  
I found a little GUI prog, and it seems (from the forum of the prog) that its a wrapper of the above command line made with AutoHotKey. Its called "Text 2 Folders" and you can find it at skwire.dcmembers.com/wb/pages/software/text-2-folders.php. I works for Greek chars. Thanks for the help !!! –  labmice Aug 13 '10 at 8:00
1  
That should be: FOR /F %i in (test.txt) do md "%i" If any folder name has a space, not having it in quotes will cause multiple folders (one for each word) to be created. Putting the %i in quotes ensures you get the actual folder name you wanted. –  Multiverse IT Aug 13 '10 at 9:01
    
Please update above as I made it a wiki –  Matthew Lock Aug 17 '10 at 4:00

Open notepad and paste the following into it:

mkdir test
mkdir test1
mkdir test2
mkdir test3

Save the file with the name "WhateverYouWant.bat"

Name the file whatever you want to name it. The important thing is that you have it in quotes and it ends in .bat

Now double click the file you just made.

This example should create 4 folders named test, test1, test2, and test3.

Now, just replace test, test1, etc. with the names you'd like the folders to have. There's no limit to the number of lines you can have in the .bat file, so go crazy!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.