That is what I do frequently when (for example) unpacking .rar files:
1. select file
2. F7 > ok
3. shift+drag file into created directory
4. open the folder
Would it be possible to simplify this procedure - i.e. create folder with selected file name and the file is already inside created folder?
OR
1. select many files
2. F7 > enter folder name > ok
3. move all files into folder
Thanks!
make dir with selected file name and move file into folder
Moderators: Hacker, petermad, Stefan2, white
1. Create batch file SelMover.bat in TC folder with following contents:
2. Use following buttonbar button:
Get AskParam from my signature.
It works with single file or selection, and suggests name of focused file as new folder name.
Code: Select all
@echo off
title MoveTo
if -%2==- echo Params: "%%WL" "MoveTo Folder" & pause & goto :EOF
if not exist %2 md %2
for /f "usebackq delims=" %%f in (`type %1`) do move "%%f" %2
Code: Select all
Command: %COMMANDER_PATH%\Addons\AskParam\AskParam.exe
Params: /c"Move files" /t"%O" /p"Enter folder name to move files to:" "%%COMMANDER_PATH%%\SelMover.bat" "%WL" "%%1"
WorkPath: leave empty
Icon, Hint: as you wish
It works with single file or selection, and suggests name of focused file as new folder name.