Status
Not open for further replies.

D4rk

Active Member
2,777
2010
588
130
hi
i need a small help in windows

small script command which auto move files from a temprorary Folder to another Folder

and i can exculde files which end with ( **.par^^.rar )


where ( ** ) means the filenames (it varies from a game to another)
and where ( ^^ ) is the part number


i mean a batch script


thanks in advance :)

__________________
Added after 19 Hours 33 minutes:

any help ?

__________________
Added after 1 Day 15 Hours:

any help guyz ?
 
Last edited:
1 comment
Here you go.
create a copy.cmd file in the folder you want to copy the files to.
Code:
dir /b r:\downloads\*.par??.rar > exclude.txt
xcopy /exclude:exclude.txt r:\downloads\*.*

the r:\downloads change to the drive and temp folder you want copied from.

As an extra bonus the exclude.txt will list the files not copied.

Here is an updated version excluding .bad and .missing files then deleting the copied files from original downloads folder....

Code:
@echo off
dir /b r:\downloads\*.par*.rar > exclude.txt
dir /b r:\downloads\*.missing >> exclude.txt
dir /b r:\downloads\*.bad >> exclude.txt
xcopy /exclude:exclude.txt r:\downloads\*.*
for %%x in (*.*) do if exist r:\downloads\%%x del r:\downloads\%%x
 
Last edited:
Status
Not open for further replies.
Back
Top