File Management

Hi all

My mail does not deal with any driver issue as yet. I am looking for some
help regarding building of a tool but I am not sure whether I would really
have to work in kernel mode for it. My problem is as follows.

I have stored files in a particular directory which have a certain
header/footer format. Now I want to transfer these files to any other
directory but I first strip off my private data from this file. For example:

MyFile.abc : MyFile.txt+Private data
MyFile.abc is stored in Dir1. Now I transfer this file to Dir2 so that
MyFile.txt: MyFile.abc - Private Data.
So Dir2 has only MyFile.txt.

For user friendliness, I want to support Cut,copy,paste, Drag and drop of
files between the directories(just like explorer supports). How do I achieve
it? I have looked around and some ideas were:

  1. Creating a namespace extension
  2. Creating a MFC app with OLE support
    This first option looks doable but would require some time. The second
    option does not give full functionality as explorer does. I was also
    thinking, would it be better/easier to create a system service? Or do I
    really need a kernel mode driver?

I would be grateful if someone can give me tips on this issue. Though this
issue looks quite simple but the major hindrance is to support explorer like
features.

Thanks and Regards

Few things -

On 6/7/07, Arijit Bhattacharyya wrote:
>
> Hi all
>
> My mail does not deal with any driver issue as yet. I am looking for some
> help regarding building of a tool but I am not sure whether I would really
> have to work in kernel mode for it. My problem is as follows.
>
> I have stored files in a particular directory which have a certain
> header/footer format. Now I want to transfer these files to any other
> directory but I first strip off my private data from this file. For example:
>
> MyFile.abc : MyFile.txt+Private data
> MyFile.abc is stored in Dir1. Now I transfer this file to Dir2 so that
> MyFile.txt: MyFile.abc - Private Data.
> So Dir2 has only MyFile.txt.
>
> For user friendliness, I want to support Cut,copy,paste, Drag and drop of
> files between the directories(just like explorer supports). How do I achieve
> it? I have looked around and some ideas were:
> 1) Creating a namespace extension
>

Yes you can look at shell extension to have the explorer like behavior. But
what will happen if I use notepad. Or if I do it by writing a program. Any
program ( for one reason or other can do that ).

2) Creating a MFC app with OLE support
> This first option looks doable but would require some time. The second
> option does not give full functionality as explorer does. I was also
> thinking, would it be better/easier to create a system service? Or do
>

This is more application specific. But still other apps ( including explorer
…) can copy without stripping your private data.

I really need a kernel mode driver?
>

This is the ideal solution, but having a filesystem filter driver is a major
work though. Look at file systems mini-filter.

> I would be grateful if someone can give me tips on this issue. Though this
> issue looks quite simple but the major hindrance is to support explorer like
> features.
>
> Thanks and Regards
> — Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17 You are currently subscribed
> to ntfsd as: xxxxx@gmail.com To unsubscribe send a blank email to
> xxxxx@lists.osr.com