Re: Code to Undelete files in NTFS

From: MikeD (nobody_at_nowhere.edu)
Date: 10/16/04


Date: Fri, 15 Oct 2004 23:59:39 -0400


"Amit" <Amit@discussions.microsoft.com> wrote in message
news:BBA58FAD-1DA3-4C18-88CD-8F8C6DFF57BC@microsoft.com...
> Hello,
> I want to develop a small utility to undelete files/ folders from a NTFS
> Partition to learn the NTFS basics. Please guide me
>
> how i can do it in VB6.
>
> I have developed a small utility to undelete files from a FAT partition.
But
> Getting problems with the NTFS partioton.

I would think even doing this for a FAT partition would be no trivial task
in VB (if possible at all, but apparently it is).

Undeleting a file requires very low-level disk functions.....something which
VB doesn't have. Even C++ is limitted in this capability. You pretty much
have to use Assembler. I'd be interested to know how you even managed this
with FAT partitions using VB (I'm betting a "helper" DLL is involved).

Also, it would help us to help you if you mentioned what problems you're
encountering. Just telling us that you're "getting problems" doesn't provide
any useful information.

And just to be certain, you're not talking about "undeleting" a file that's
only been sent to the Recycle Bin, are you?

Mike



Relevant Pages

  • Re: A few quick newbie questions...
    ... > Yes, use this approach if you are doing a fresh install, or don't mind ... I recommend adding a partition for moving data between XP ... >>a system which currently contains XP, reduce the size of your NTFS partition ... Do not alter the small FAT partition which XP has ...
    (Fedora)
  • Re: Operating System
    ... >> first partition. ... it will work if XP is loaded onto a FAT partition. ... with using NTFS is that FAT cannot write to NTFS, ...
    (microsoft.public.windowsxp.newusers)
  • Re: installing on a partition
    ... >>The best way to do this is to create a large FAT partition because ... IIRC you can choose whether Win2k/XP uses FAT or NTFS. ... There are tools to have r/w support for NTFS (and I am not ...
    (Debian-User)
  • Code to Undelete files in NTFS
    ... I want to develop a small utility to undelete files/ folders from a NTFS ... Please guide me ... I have developed a small utility to undelete files from a FAT partition. ...
    (microsoft.public.vb.general.discussion)
  • Re: Code to Undelete files in NTFS
    ... > I want to develop a small utility to undelete files/ folders from a NTFS ... Please guide me ... > I have developed a small utility to undelete files from a FAT partition. ...
    (microsoft.public.vb.general.discussion)