Page 1 of 1

Deleting hashfile problem

Posted: Wed Dec 14, 2005 4:36 pm
by Emilio
I am having problems deleting a hashfile.
Here is my line:
StrCommand = "del /Q " : pTEMPDIR : "\" : pHashFile : " " : Homedir : " " : HashPath : ' 30 1 4 20 50 80 1628'
It deletes the DATA.30 and OVER.30 file but it does not delete the hidden .Type30 file. :?
I also tried the command "del /QH " which suppose to delete hidden files but it created some crazy fies instead. I searched the archives for an answer but nothing comes close to answer.
The /Q is so it won't prompt you if you wanted to delete the files (Y/N).
Thanks,
Emilio

Posted: Wed Dec 14, 2005 5:04 pm
by trokosz
Well if you are trying to delet ea hash file outside of the Project in another location (no VOC entry exists) then you can simply delete them from operating system with your command of choice.

But if your hash files are located in the Project...is this true? Then you need to go to Administrator command into the Project of choice and execute the command DELETE.FILE <filename> because a VOV entry exists in this case and a operating system command will not work.

Posted: Wed Dec 14, 2005 5:16 pm
by kcbland
Look at the "rmdir /S /Q \fullyqualifiedhashedfile" command to remove a hashed file directory and its contents, then "erase \basehashedfiledirectory\D_hashedfilename" to get rid of the D_hashedfilename file.

Posted: Thu Dec 15, 2005 6:22 am
by ridar
Doesn't the rm -r PATHNAME\HASHFILENAME work in deleting it permanently :? :?:

Posted: Thu Dec 15, 2005 8:16 am
by chulett
Windows.

Posted: Thu Dec 15, 2005 3:23 pm
by ray.wurlod
MKS Toolkit.

Posted: Thu Dec 15, 2005 3:34 pm
by chulett
Granted.