Help needed with .bat file

Wally Turnbull wally at tbull.com
Fri Jun 23 10:34:53 PDT 2006


<< ... Can anyone with more knowledge of .bat scripting & XCOPY tell me
how to
eliminate certain files while including others.  OTW, I want to copy the
map, key, prc, tok, etc. but not the qualified files and indices.  On
the
other files in my filepro folder I want to XCOPY everything.  >>

This is not an exact reply to your question but it may be better.  If
you do need to know how to do exactly what you asked instead just ask. 

It is possible to xcopy only files that have been changed which usually
results in the fastest copy.  Since your monthly qualified files only
change once a month or so you would be sure to include them but only if
needed.  Your PRC files, screens, etc would rarely be copied as they
changed infrequently.  

With this approach, the destination folder which is included in the
system backup would always have the latest copy of all the files.

Use a command like this:

XCOPY \\SERVERNAME\FILEPRO \\SERVERNAME\FOLDERNAME /D /E /C /I /H /R /K
/Y

Best,
Wally Turnbull





More information about the Filepro-list mailing list