Move selected file to new directory (feature request)
Moderators: Hacker, petermad, Stefan2, white
Move selected file to new directory (feature request)
If the cursor is over a file and you hit F7, the new directory popup is pre-filled with the file's name. I use this feature a lot but it would be a great addition if by holding down a modifier (ctrl or shift) the selected file would also moved to the new directory.
Thanks
Thanks
Just use following button:
Or you may create user-command and assign a hotkey for it. Get AskParam from my signature.
Code: Select all
Command: %COMMANDER_PATH%\Addons\AskParam\AskParam.exe
Parameters: /c"Move file to new folder" /t"%P%O" /p"Move %N to:" cmd.exe /c "md "%%1" & move "%P%N" "%%1" & start "" "%%%%COMMANDER_PATH%%%%\TOTALCMD.exe" /S /L="%%1""
- Ambaquista
- Junior Member
- Posts: 64
- Joined: 2005-05-27, 11:11 UTC
- Location: Luanda, Angola
I use a small program "Files 2 Folder"
http://skwire.dcmembers.com/wb/pages/software/files-2-folder.php
Descrption (from the author): A right-click shell extension that will automatically create a folder based on the selected filename and move that file into that folder. If you select multiple files, a box will pop up asking for a folder name. That folder name will be created and all selected files will then be moved into the new folder.
http://skwire.dcmembers.com/wb/pages/software/files-2-folder.php
Descrption (from the author): A right-click shell extension that will automatically create a folder based on the selected filename and move that file into that folder. If you select multiple files, a box will pop up asking for a folder name. That folder name will be created and all selected files will then be moved into the new folder.
I got issues with paths containing spaces so I modified the button like this:
I created a user command and mapped it to ctrl+F7. Works like charm, thanks for your help!
Code: Select all
TOTALCMD#BAR#DATA
"%commander_path%\helpers\AskParam\AskParam.exe"
/c"Move file to new folder" /t"%P%O\" /p"Move '%O.%E' to:" cmd.exe /c "md "%%1" & move "%P%O.%E" "%%1"
wcmicons.dll,29
Move file to new folder
-1
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
I think it would be well within reason for TC to have actual COPY/MOVE commands that take parameters.
While we may never get internal scripting for TC, this would definitely be a step forward.
Code: Select all
MOVE %S %O
MOVE %N %O
etc.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.