Author Topic: Select files and create a drawer for each file and put each file on each drawer.  (Read 31 times)

Azur Mrodfr

  • Newbie
  • *
  • Posts: 1
    • View Profile
Hello

I have HDDs with lots of movies files, some of them are inside drawer (some hundred) and some of them without (files directly clickable).

I would like to know if it's possible allready in MultiCommander.

- Select a movie file.
- Use a Multicommander feature that:
- Create a drawer with the name of the movie.
- Put the movie on the drawer

And the best is to do that with one click for hundreds movies.

Thanks for your help.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4823
    • View Profile
    • Multi Commander
That is a very special use case.. There is no built in ready to go feature like that.

But you should be able to create a UserDefinedCommand of MultiScript type to do that.
The hard part is to figure out what that the folder name should be. If the folder name can be generated from what the filename is.. then it is easier.

From MultiScript you can get all selected files
Go through them one by one and from file name create the Directory name you want,.
Create that folder and then move the file to that folder..

Then you assign that command to a HotKey/Button/Menu and when you select that command it will run that on all selected files.

https://multicommander.com/Docs/UDC_multiscript
https://multicommander.com/Docs/multiscript/functions/getfilefromview#getselectedpaths
https://multicommander.com/Docs/multiscript/functions/filesystem#movefile
https://multicommander.com/Docs/multiscript/functions/string
https://multicommander.com/Docs/multiscript/examples#file-operations