Page 1 of 1

Accessing hash files in a directory

Posted: Thu Sep 16, 2004 8:38 am
by gpbarsky
:D :D :D :D :D :D :D :D

Hola mis amigos....

I need to cleanup temporary hash files that are being created in a specified directory; this is not the project directory.

Besides, I already have a routine to delete hash files, but from the project directory.

How can I do, to delete hash files from the others directories ?

Thanks in advance.

Posted: Thu Sep 16, 2004 8:42 am
by chulett
For hash files not in an account, i.e. ones that are specifically pathed and created via 'mkdbfile', simply delete them from your operating system.

Posted: Thu Sep 16, 2004 8:58 am
by gpbarsky
Thanks Craig.

My only concern was about to leave the VOC in a "good state".

So, with a "DEL" (delete) command and with the "RD" (remove dir) command I can make the cleanup of the directory in which the hash files are allocated. Isn't it ?

Posted: Thu Sep 16, 2004 10:29 am
by chulett
You can get away with it because they have no VOC entry. Unless you've specifically added one to facilitate the use of some of the commands that require it, that is. :wink:

Posted: Thu Sep 16, 2004 12:54 pm
by kduke
You can you use the search command on the VOC and look for that directory or

Code: Select all

LIST VOC WITH F2 LIKE DirName...