How do I created a folder with name of current file
-
rfluskin
- Posts: 1
- Joined: 18 Mar 2026 09:57
How do I created a folder with name of current file
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
-
highend
- Posts: 14923
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: How do I created a folder with name of current file
new(<curbase>, "dir");?One of my scripts helped you out? Please donate via Paypal
-
RalphM
- Posts: 2086
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: How do I created a folder with name of current file
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.
Ralph 
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
XYplorer Beta Club