Auto-create multiple folders and save files inside it, in one click!!

Code:
@echo off
for %%i in (*) do (
if not "%%~ni" == "organize" (
md "%%~ni" && move "%%~i" "%%~ni"
)
)

Пікірлер: 58

  • @drjones762
    @drjones7629 ай бұрын

    Bless you, lady! This script does literally 100% exactly what I needed!! I have a bunch of files in one folder, and I wanted to create separate folders for each file, based on the file name. this does EXACTLY that, instantly! It creates a folder named exactly the same as the file, then moves the file into the folder! Brilliant! Thanks so much!!

  • @carlnelson3893
    @carlnelson38932 жыл бұрын

    Very smart batch program! I am interested in a batch routine that would go through a long list of directories and copy out the files within and place all files in the root or parent directory, even better a new dir with all the files in it.... I have to do this manually all the time!

  • @lsamurai4041
    @lsamurai40412 жыл бұрын

    Great! Thank you very much, you saved my time and a lot of manual work

  • @rygar4615
    @rygar46152 жыл бұрын

    Wow!!!.. you are a genius. Thank you I been looking for some thing like this for years.

  • @satyajitmahapatra9487
    @satyajitmahapatra94872 жыл бұрын

    You are brilliant. Wish I can donate some money to you for this video. You saved my April month.

  • @whiteboard3210

    @whiteboard3210

    2 жыл бұрын

    Thanks Satyajit. Happy that I could help you... if you wish to donate, you may do so to my little kiddo on his channel #MrGamer kzread.info/dron/Rd7W91xNYq_hKPvA0zLXBA.html

  • @Youbetterwatchthesetoo
    @Youbetterwatchthesetoo4 ай бұрын

    This video was so useful, thank you very much. hope you have a nice day

  • @nguyenthuthuy1243
    @nguyenthuthuy1243 Жыл бұрын

    Thank you for your guide, it's so easy to follow. Just wonder, if I would like to create file with part of the name, what should I do? Just like your files, I only want to create folders with year number "2015"... only.

  • @Budgies_Lovers_UAE
    @Budgies_Lovers_UAE2 жыл бұрын

    Awesome.....that is exactly what I was looking for. Thanks alot.

  • @whiteboard3210

    @whiteboard3210

    2 жыл бұрын

    Glad it helped!

  • @dhasmana36
    @dhasmana362 жыл бұрын

    Wow- you saved my time. Thanks!

  • @whiteboard3210

    @whiteboard3210

    2 жыл бұрын

    Glad that it could help you!

  • @joaomelo8359
    @joaomelo8359 Жыл бұрын

    it worked very well. thank you for sharing

  • @abdoenc3581
    @abdoenc35812 жыл бұрын

    Thank you very much. You helped a lot !! PEACE !!

  • @christophepetchanatz3028
    @christophepetchanatz3028 Жыл бұрын

    great, very useful, thank you !

  • @MOOTANT1
    @MOOTANT17 ай бұрын

    Excellent - thanks 😎

  • @sultandhaliwal7522
    @sultandhaliwal7522 Жыл бұрын

    Hi - Can you help me with my query? I have a folder which has hundreds of files such as Invoices from different suppliers pertaining to different months, statements from different suppliers pertaining to different months, and lastly bank payment receipts pertaining to different suppliers and different months. Now, I wish to automate moving all these files to respective supplier folders which have already existing subfolders with different months. So, all the files get filed to thr right locations. How can I do this please?

  • @mktr1414
    @mktr14142 жыл бұрын

    Many Thanks, But what about if I want to move them to existing files based on part of the pdf name.

  • @blurryguy
    @blurryguyАй бұрын

    Brilliant! What does it do if there are other folders in the folder?

  • @safsoof79
    @safsoof798 ай бұрын

    Great ...amazing :)

  • @rygar4615
    @rygar46152 жыл бұрын

    Du you know a way to rename the file to the same name one's you put them in folders? thank you for you help.

  • @azy2355
    @azy2355 Жыл бұрын

    Wow...very nice

  • @mwktalks4170
    @mwktalks4170 Жыл бұрын

    Its helps 😀. Thanks Teacher

  • @heeradangi7262
    @heeradangi7262 Жыл бұрын

    Very good i m searching for 3 day! But u solved my problem l thanks

  • @KhairMuhammadKumbher
    @KhairMuhammadKumbher2 жыл бұрын

    This is awesome, I am only for the searching for this method. But I need another code if possible then it would be great full for me. My folder has 1000+ files but I want to creat folder of move 40 files in each folder.

  • @Saintel
    @Saintel9 ай бұрын

    Do you have anything like this for the Mac?

  • @7mikekim2
    @7mikekim22 жыл бұрын

    Many thanks. It's magic.

  • @robertorober7369
    @robertorober736927 күн бұрын

    It's Magic. Thanks.

  • @amrsoliman2569
    @amrsoliman2569 Жыл бұрын

    I used it before and it was very helpful. now i'm using it but it creates folders without moving files inside it. Please advise.

  • @chrisdsouza2697
    @chrisdsouza26972 жыл бұрын

    Thanks this is big game changer for me

  • @Farahandirujii
    @Farahandirujii Жыл бұрын

    We Can Also make a zip or rar for all the files. And then extract as separate folder.

  • @michaelallen1359
    @michaelallen13594 ай бұрын

    Thank You.

  • @dustonmeyer3770
    @dustonmeyer3770 Жыл бұрын

    I am wanting to create folders like this but if i have 1000 files how do i set it up so if i click the organize it will put 25 files in each folder so I have 40 folders with 25 files in it

  • @Art-Shop_gr
    @Art-Shop_gr11 күн бұрын

    Thank you Thank you THANK YOU!

  • @madalinjugravu300
    @madalinjugravu300 Жыл бұрын

    Hi do anyone know how to make folders automatically with characters such as „ö,ä,ü“?

  • @bozidargluscevic8938
    @bozidargluscevic8938 Жыл бұрын

    Does this also apply to photos? Failed to create photo folders for me.

  • @jeetvasavada9187
    @jeetvasavada9187 Жыл бұрын

    Thanks a lot dear!

  • @careerwithcomputer
    @careerwithcomputer10 ай бұрын

    Well Done

  • @piccolovideos
    @piccolovideos Жыл бұрын

    god bless you, thanks a lot!

  • @christinachaikovska8309
    @christinachaikovska83099 ай бұрын

    THANK YOU!

  • @ahmedhalim2474
    @ahmedhalim2474 Жыл бұрын

    Thank You 🙏

  • @elnabz4731
    @elnabz4731 Жыл бұрын

    What if you want to reverse it? Is it possible?

  • @mohammadtariq2197
    @mohammadtariq21975 ай бұрын

    can anybody tell me if there is 1 pdf and 1 dwg file

  • @alsoeris
    @alsoeris Жыл бұрын

    thank you

  • @polred2874
    @polred28744 ай бұрын

    Thanks A lot..

  • @mohammadtariq2197
    @mohammadtariq21975 ай бұрын

    Thanks you

  • @funnyvideos-gm2ph
    @funnyvideos-gm2ph2 жыл бұрын

    really useful thankyou

  • @whiteboard3210

    @whiteboard3210

    2 жыл бұрын

    Glad it helped

  • @kishanlathiya6609
    @kishanlathiya66092 жыл бұрын

    And how to undo it?

  • @Deadmare
    @DeadmareАй бұрын

    didn't work only file that got put in folder was the bat file

  • @Martichy09
    @Martichy09 Жыл бұрын

    The hack is amazing! But please, PLEASE, the whole video could fit in 1 minute.

  • @hoseinbebany
    @hoseinbebany Жыл бұрын

    is there not an app to do this

  • @omaljose646
    @omaljose6469 ай бұрын

    no txt to remove while renaming .remaining as text what to do

  • @shaincx

    @shaincx

    7 күн бұрын

    put it inside zip and rename it😂

  • @haitibenefits4786
    @haitibenefits47862 жыл бұрын

    Your smart

  • @ronniewilcox3087
    @ronniewilcox3087 Жыл бұрын

    this was useless

  • @fairozemm5505
    @fairozemm5505 Жыл бұрын

    Great! Thank you very much, you saved my time and a lot of manual work