Help needed with .bat file

Kenneth Brody kenbrody at bestweb.net
Fri Jun 23 17:07:47 PDT 2006


Quoting Don Coleman (Fri, 23 Jun 2006 10:01:07 -0400):

> Windows 2000 Advanced Server, Windows 2000 & XP clients, fP v5.0.13,
[...]
> to access these records so I can't remove the qualifiers.  I am using
> the following simple .bat file:
>
> ECHO OFF
> TITLE=DIAMOND filePro XCOPY BACKUP PROCESS
> SET FILES=80
> XCOPY E:\QS1\TODO\FILEPRO E:\QS1\TODO\BKFILEPRO /S/E/Y
> EXIT
>
> 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
[...]

Will this do the trick?  From "xcopy /?" on my XP box:

  /EXCLUDE:file1[+file2][+file3]...
        Specifies a list of files containing strings.  Each string
        should be in a separate line in the files.  When any of the
        strings match any part of the absolute path of the file to be
        copied, that file will be excluded from being copied.  For
        example, specifying a string like \obj\ or .obj will exclude
        all files underneath the directory obj or all files with the
        .obj extension respectively.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list