Question:

How can I create a separate folder for each individual file in a folder.?

by  |  earlier

0 LIKES UnLike

I have a bunch of AVI files that are in my movies folder. I'm want to create a new folder for every individual file in the movies folder and then move the individual file to its respective folder. E.g. Movies\Car.avi will become Movies\Car\Car.avi

Thanks!

 Tags:

   Report

3 ANSWERS


  1. Just open your movies folder, right click somewhere inside of it, then click new folder. After doing this, name the folder and drag the file you want into it. You can do this as many times as you want.


  2. Hi,

    Open notepad, and paste this in:

    @echo off

    for /f "tokens=*" %%a IN ('dir /b *.avi') do md "%%~na"

    for /f "tokens=*" %%a IN ('dir /b *.avi') do move "%%a" "%%~na\%%a"

    Save it as go.bat in your movies folder.

    Either run this from a command window, or just double click the bat file in explorer, and every avi file has a folder with the same name!

    I wrote this script to use with the 'My Movies' MCE plug in which needs the same format.

    Cheers,

    Rich

  3. open my video

    click file

    click new

    name folder Movies

    open Movies

    click file

    click

    new

    name it Car

    save all Car files here in Car

    repeat for trucks,trains,ect,within the Movies folder

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.