473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

virtual filesystem

I'd like to have a virtual folder for a special device to be integrated into
explorer's filesystem view. The preferable way would be to have an individual
drive. But it is also acceptable to have a virtual folder. The only
requirement I have is that explorer should behave like for real filesystem
folders (d.h. file types, context menu, columns, view, toolbar, etc). This
means every application may access the contents on that device, using
standard file I/O, as if it would be an ordinary filesystem entry.

I started writing a NSE with C# that provides the files and folders stored
on that
device. But it turned out that the NSE has to do all the work itself. I
found no way to just tell explorer that there's a folder and force it to do
the entire stuff.

I'm wondering if there isn't a much more easier way to do that, e.g. by
implementing a special interface, or some thing like that, whithout the need
to do all the work by my self.

Than I heard from WinFX/WinFS and I'm asking if this technologies can be
more helpful. But I don't know where to start from.

Mike
Apr 19 '06 #1
3 2335
>I'm wondering if there isn't a much more easier way to do that, e.g. by
implementing a special interface, or some thing like that, whithout the need
to do all the work by my self.


I wouldn't call it easier, but it sounds like what you really need is
to write a (fake) file system driver. Not something you use C# for.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Apr 19 '06 #2


"Mattias Sjögren" wrote:
I'm wondering if there isn't a much more easier way to do that, e.g. by
implementing a special interface, or some thing like that, whithout the need
to do all the work by my self.


I wouldn't call it easier, but it sounds like what you really need is
to write a (fake) file system driver. Not something you use C# for.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Apr 19 '06 #3
I don't want to develop a driver. Isn't there way to provide a virtual
filesystem, just by implementing a particular (file-based) interface? Linux
has such a mechanism (Filesystem in Userspace). It took me just a day,
including getting familiar with the technology, to implement the filesystem
in Linux. I can not believe that there isn't a similar technology on windows.

Mike
"Mattias Sjögren" wrote:
I'm wondering if there isn't a much more easier way to do that, e.g. by
implementing a special interface, or some thing like that, whithout the need
to do all the work by my self.


I wouldn't call it easier, but it sounds like what you really need is
to write a (fake) file system driver. Not something you use C# for.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Apr 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Michael | last post by:
Is this the correct place to ask about Boost libs? If it is.............. #include <boost/filesystem/path.hpp> #include <boost/filesystem/operations.hpp> using namespace boost; using...
7
by: Atila Olah | last post by:
I'm working on a project to implement a simple cross-platform file sharing protocol (using Python) that is similar to HTTP, and I have to write a GUI for Windows and Linux. But let's start with the...
11
by: Thomas Zangl | last post by:
Hi! I have a class hierachie like this: // interface, abstract only class ISession { } // implements common parts of ISession
7
by: Enigma Curry | last post by:
I need to store a large number of files in an archive. From Python, I need to be able to create an archive, put files into it, modify files that are already in it, and delete files already in it. ...
4
by: Chuck P | last post by:
Using vs05 and making an asp.net 2.0 website. We use VSS and have everything organized like this SolutionName Documents Code WebProjectName1 WebServiceProjectName1
1
by: jbonifacejr | last post by:
I am unable to use the GetFolder method of the FileSystem object when trying to get the folders from within a Virtual Directory. Here is my setup... I have a Development Box (DB) and a...
5
by: GaryE | last post by:
Hello: I am having trouble linking a couple of files using the boost::filesystem. I am using MSVC 6.0. Here is an abbreviated version of my problem: foo.h: #ifndef __FOO_ #define...
1
by: Thomas W | last post by:
I want to create a virtual filesystem based on a relational database. It might run as a server on a different machine, but it has to be available like a normal filesystem, either shared using...
8
by: David C | last post by:
Is the sample below valid for referencing a virtual folder named OracleFiles in a web site where the aspx page that is using this code is under the root folder of the subweb? Some users are...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.