dbcopy

Kenneth Brody kenbrody at spamcop.net
Mon May 24 09:15:26 PDT 2010


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?

Finally, consider changing the command to

@dbcopy w:\850 ls_850x

-- 
Kenneth Brody


More information about the Filepro-list mailing list