Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: Создание в папке подпапки с последующим перемещением файлов 
Author Message
Tol!k



PostPosted: Sat Sep 01, 2012 19:17    Post subject: Reply with quote

сохранить как .cmd
Code:
@echo off &setlocal enableextensions
rem   Параметры: "%WL" "Cover\" *.jpg

if "%~3"=="" (
echo Use: %~n0 dirs.list "New Folder\" *.ext
pause >nul &goto :eof)

for /f "delims=" %%d in ('type "%~1"') do (
if not exist "%%d\%~2" md "%%d\%~2"
move /y "%%d\%~3" "%%d\%~2")
сделать кнопку

*выделять папки


Last edited by Tol!k on Sun Sep 02, 2012 21:23; edited 2 times in total
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group