Page 1 of 1

How do I created a folder with name of current file

Posted: 18 Mar 2026 21:24
by rfluskin
I need a script (activated by toolbar button) that will created a folder with the name of the current file (less extension). I have no experience with scripting, so please provide something I can just copy-pase using button editor. Thanks

Re: How do I created a folder with name of current file

Posted: 18 Mar 2026 21:27
by highend
new(<curbase>, "dir");?

Re: How do I created a folder with name of current file

Posted: 18 Mar 2026 23:13
by RalphM
If the next step is to move that file into the newly created folder, you might try right-dragging the file and select "Move here to new subfolder" from the ctx menu.