dbcopy

Richard Kreiss rkreiss at verizon.net
Mon May 24 09:52:41 PDT 2010



> -----Original Message-----
> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
> Sent: Monday, May 24, 2010 12:15 PM
> To: Richard Kreiss
> Cc: filepro-list at lists.celestial.com
> Subject: Re: dbcopy
> 
> On 5/24/2010 10:45 AM, Richard Kreiss wrote:
> > I have a routine which has been running for over 10 years without a
hitch.
> > However since April this routine is having a problem.
> >
> > Windows server 2005, filepro 5.0, windows xp pro
> [...]
> > @dbcopy 850 ls_850x
> [...]
> > The problem is with the dbcopy.  The file 850.dbf is located in w:\.
This
> > file contains edi data.  Currently when this menu option is selected the
> > records being copied from 850.dbf are from an order received in April
> > although the current 850.dbf file exists on w:\.
> >
> > If I run dbcopy manually from the filepro utility menu, the correct file
is
> > copied.
> >
> > I have done a search of the W:\ drive for another copy of 850.dbf.  I
have
> > searched the local c: drive for a copy of 850.dbf and have found none.
> >
> > Anyone have a suggestion as to:
> > 1. why this command should fail now to find w:\850.dbf
> > 2. Suggest where else to look for the older version of 850.dbf with the
old
> > edit data
> [...]
> 
> Add the following lines just before the "dbcopy" line in the batch file:
> 
> @echo You are currently in %CD%
> @dir 850.dbf
> @pause
> 
> What directory are you in when the batch file is run?


This is a menu batch file.  I would assume that this then is run from
w:\fp\menus

> 
> Finally, consider changing the command to
> 
> @dbcopy w:\850 ls_850x

Will try this.  Didn't realize that dbcopy would take a drive specification.

Richard Kreiss




More information about the Filepro-list mailing list