dbcopy
Kenneth Brody
kenbrody at spamcop.net
Mon May 24 10:43:15 PDT 2010
On 5/24/2010 12:52 PM, Richard Kreiss wrote:
[...]
>>> 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
[...]
>>
>> 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
1 - Why would you assume that?
2 - Why would you then assume that it would look in "w:\" for the file?
>> Finally, consider changing the command to
>>
>> @dbcopy w:\850 ls_850x
>
> Will try this. Didn't realize that dbcopy would take a drive specification.
It's been hundreds of fortnights since I've used it, but I think it does.
--
Kenneth Brody
More information about the Filepro-list
mailing list