Имя пользователя:
Пароль:
 

Показать сообщение отдельно

Аватара для jannaly

Новый участник


Сообщения: 46
Благодарности: 0

Профиль | Отправить PM | Цитировать


Добавить move у меня не получается помогите!

Цитата Iska:
Код:
@echo off
setlocal enableextensions enabledelayedexpansion
set sFolderSource=c:\FolderWithOneMillionFiles
set sFolderDest=c:\FolderForOneHundredThousand
set /a iCount = 0
for /f "delims==" %%i in ('dir "%sFolderSource%\*.*"/b /a:-d') do (
set /a iCount += 1
if !iCount! gtr 100000 goto :Out
>nul copy /y "%sFolderSource%\%%i" "%sFolderDest%\*.*"
)
:Out
endlocal
exit /b 0 »

Отправлено: 18:48, 22-05-2012 | #10