Link to home
Start Free TrialLog in
Avatar of Peborgh
PeborghFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Does RmDir and Kill in Access 2002 by-pass the recycle bin...

... and really really delete files and folders? It appears to!

With no possibility of un-delete? 'cos if it does, this is really good for me!

Many thanks.
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Peborgh

ASKER

Shame. Any thoughts on erasing these files rather than RmDir and Kill-ing them?

Thanks.

peter
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
jeff,
just wondering, how would moving the file to the recycle bin helps in this q.
Cap,

The asker stated:
"Any thoughts on erasing these files rather than RmDir and Kill-ing them"

So, as far as VBA goes, the only way I knew of to Delete/Erase files was using "Kill"

I researched this a while ago, and I was suprised to find that it is possible to move files to the recycle bin with VB.

;-)

BTW, congrats on the Access Coding Genius Cert!
;-)

Jeff
the problem with moving the files to the recycle bin is you can restore them without using any undelete software

___

thanks jeff
capricorn1,

Yes, that is what was not really clear form the asker.
If they wanted easy undeletes or not.

The first post says that if Kill really deletes the file and is not easilly recovered then it is :
"really good for me!"
Indicating that they wanted a "permanent" Delete technique.

But in the next post they ask:
"Any thoughts on erasing these files rather than RmDir and Kill-ing them?"
This seems to indicate that they would like an *alternative* to "Kill".

I was not sure what they really wanted, so I posted the Recycle bein code as an "Alternative".

But like I posted, there is always a way to undelete almost any file (No matter how it was Deleted, Erased, or Killed) relatively easily.
Given the right utility.

Jeff
Avatar of Peborgh

ASKER

Hi Guys!

What I do want is a method of "getting rid" of Access and Word files in such a way that would be difficult for the average geek to recover them. I know the CIA. MI5/6 and KGB could probably do it if they were really desperate. So some eraser that could be invoked from VBA would be ideal. Preferably free and sharable...

Does that contribute to you discussion?

Many thanks,

peter
search on google for deleting files permanently
OK,

Thanks for the clarification.

Jeff
Avatar of Peborgh

ASKER

Guys,

I think the answer is that I cannot easily delete irretrievably my information from within Access. Thanks for the discussion...

peter
Peborgh,

BTW,
You could have given Capricorn1 all the points for correctly interpreting your question.

Jeff