ddir and password

Kroboth, Joe joe_kroboth at chernay.com
Wed Jan 21 08:26:36 PST 2009


Quoting "Kroboth, Joe" <joe_kroboth at chernay.com>:

> I'm trying to automate some end of month procedures.  I have a
> password protected file. I'm using the command '/appl/fp/ddir
> invoices -k' to delete the key and data.  Is there any way to
> accomplish this without it asking for the password?
>
> Thanks.
>
Walter said:

<completely untested>
If you can run dxmaint without a password, you could stand on another filePro file, and run a system command to cat /dev/null to the key and data segments, and then rebuild the indexes with dxmaint system command.
Messy but should work.
</completely untested>

Laura said:
>Yes, you could drop to a command line and empty the key
>and data files from there.
>
>
       > /appl/filepro/invoices/key
       > /appl/filepro/invoices/data
>
>I just tried it on a Linux system, and it worked.
>
>--
>Laura Brody

I'll try this.  I guess as Walter stated I would need to rebuild the indexes, Correct?

Joe




More information about the Filepro-list mailing list