PDA

View Full Version : multiple folders


dianaiad
October 1st 09, 11:47 PM
I need to make multiple sub-folders, one for each student. I have a BUNCH of
students, and I need an individual folder for each one. It is truly tedious
to do the 'make new folder," name it, close it, and then go back up to 'make
new folder" again. I understand that there may be a way to streamline this
process, so that I can make a bunch of new folders in one fell swoop?

Please?

Otherwise, this is going to literally take me hours....help?

R. McCarty
October 1st 09, 11:55 PM
If you have a list of students you could create a batch file that makes
use of the command MKDir to create the folders. I don't have any
examples to demonstrate how to accomplish it.
Others that post here are well versed on batches and scripting. I'm
sure someone will come up with a process for you.

"dianaiad" > wrote in message
...
>I need to make multiple sub-folders, one for each student. I have a BUNCH
>of
> students, and I need an individual folder for each one. It is truly
> tedious
> to do the 'make new folder," name it, close it, and then go back up to
> 'make
> new folder" again. I understand that there may be a way to streamline this
> process, so that I can make a bunch of new folders in one fell swoop?
>
> Please?
>
> Otherwise, this is going to literally take me hours....help?

Ian D[_3_]
October 2nd 09, 12:58 AM
"dianaiad" > wrote in message
...
>I need to make multiple sub-folders, one for each student. I have a BUNCH
>of
> students, and I need an individual folder for each one. It is truly
> tedious
> to do the 'make new folder," name it, close it, and then go back up to
> 'make
> new folder" again. I understand that there may be a way to streamline this
> process, so that I can make a bunch of new folders in one fell swoop?
>
> Please?
>
> Otherwise, this is going to literally take me hours....help?

Do Start > run, and type cmd. The command window
will appear. Type cd\ to get you back to C:\, or whatever
the drive letter is. Then type the path to the folder where
you want to create the sub folders. Create the folders as
follows, pressing Enter after each line:

md Evans
md Jones
md Smith
etc....

When you're done, dir will list them all for you. If you
make an error, rd Name, will erase it, then you can
re-enter it, or you can correct it in Windows Explorer.

Pegasus [MVP]
October 2nd 09, 06:45 AM
"dianaiad" > wrote in message
...
>I need to make multiple sub-folders, one for each student. I have a BUNCH
>of
> students, and I need an individual folder for each one. It is truly
> tedious
> to do the 'make new folder," name it, close it, and then go back up to
> 'make
> new folder" again. I understand that there may be a way to streamline this
> process, so that I can make a bunch of new folders in one fell swoop?
>
> Please?
>
> Otherwise, this is going to literally take me hours....help?

As R. McCarty suggested, this task is often performed with a batch file,
e.g. like so:

@echo off
for /F "delims=" %%a in (c:\Students.txt) do md "d:\Student Files\%%a"

Skilled/lazy server administrators will then expand the batch file to create
a matching account at the same time. They usually find that acqjuiring
skills in writing batch files saves them an enormous amount of time because
they have to perform these tasks year after year after year.

Donald Lessau
October 2nd 09, 12:50 PM
"dianaiad" > schrieb im Newsbeitrag
...
>I need to make multiple sub-folders, one for each student. I have a BUNCH
>of
> students, and I need an individual folder for each one. It is truly
> tedious
> to do the 'make new folder," name it, close it, and then go back up to
> 'make
> new folder" again. I understand that there may be a way to streamline this
> process, so that I can make a bunch of new folders in one fell swoop?
>
> Please?
>
> Otherwise, this is going to literally take me hours....help?

If you prefer a GUI solution to a batch file, you might try the next version
of XYplorer (8.50), where you can enter/paste a list of new folders or whole
new paths which then will be created in one go.

Don
http://www.xyplorer.com/

Jim[_33_]
October 2nd 09, 03:40 PM
On Thu, 1 Oct 2009 15:47:02 -0700, dianaiad
> wrote:

>I need to make multiple sub-folders, one for each student. I have a BUNCH of
>students, and I need an individual folder for each one. It is truly tedious
>to do the 'make new folder," name it, close it, and then go back up to 'make
>new folder" again. I understand that there may be a way to streamline this
>process, so that I can make a bunch of new folders in one fell swoop?
>
>Please?
>
>Otherwise, this is going to literally take me hours....help?

What program are you using ?

John smith
October 3rd 09, 03:27 PM
>I need to make multiple sub-folders, one for each student. I have a BUNCH
>of
> students, and I need an individual folder for each one. It is truly
> tedious
> to do the 'make new folder," name it, close it, and then go back up to
> 'make
> new folder" again. I understand that there may be a way to streamline this
> process, so that I can make a bunch of new folders in one fell swoop?
>
> Please?
>
> Otherwise, this is going to literally take me hours....help?

You can do this in less than a minute...

1. open up a spreadsheet i.e. excel
2. paste all student names in column 2 (paste from some source electronic
document of student names)
3. copy/paste the text "mkdir" in column 1, for all student names
4. highlight column1 and 2 and paste into a text file
5. rename text file as 'run.bat'
6. execute batch file

Google