It would be simple enough to....

Bung list of 1000 specific files into a text file

Then use something like this...

@echo off
setlocal

for /f %%a in (textfile.txt) do set file=%%a& call :COPY

endlocal
goto :eof

:COPY

Echo copying %file%...
robocopy \\server\share\%file% \\destination\share /necessary robocopy
options (such as W: and R:)
goto :eof

On 03/01/2008, Bill Krumel <[EMAIL PROTECTED]> wrote:
>
> I have a folder with a lot of files in it.  (over 10,000)
> I want to copy only a specific list of about 1000 files out
> of this folder to a new folder by UNC path.
>
> Does anyone have good scripts for this?
>
> thanks!
>
>
> ~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
> ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~
>



-- 
James Rankin
Tel: +44 7902 193912

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to