Help needed with .bat file
Don Coleman
dcoleman at dgcreact.com
Fri Jun 23 07:01:07 PDT 2006
Windows 2000 Advanced Server, Windows 2000 & XP clients, fP v5.0.13, client
runs as close as possible to 24X7. Beginning just after midnight I have a
batch process in Scheduled Tasks which uses xcopy to copy their fP programs
and data to a separate folder. This separate folder is included in their
system backup while their working filePro folder is not. This is done
because I can xcopy the fP programs and data faster to the separate folder
than I can have them run their system backup. This gets them back working
several hours earlier. My question is there are two fP files with one
qualifier for each month's data (i.e. key2006_01 plus the qualified indices)
which go back two years. I have no need to backup the qualified files for
each month each night as their data doesn't change. I can have the client
make a master of those in event of a disaster but they do occasionally need
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 the
other files in my filepro folder I want to XCOPY everything. I seem to
remember this being discussed a month or two ago, perhaps by John since I
believe he faced a similar situation (24X7) at Nexus. However, that was
probably on *nix, not a windows network. Of course I could be mistaken.
Any advice appreciated.
Don Coleman
Donald G. Coleman, Consultant
402 Andrew Circle
Indiana, PA 15701
dcoleman at dgcreact.com
(724) 349-6302
More information about the Filepro-list
mailing list