473,853 Members | 1,984 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Create a Virtual Drive

Hi, is it possible to create a virtual drive? For instance, let's say I
want to create a virtual drive call "Z", and that drive should be visible in
the My Computer folder and works like a standard hard drive, but the
different is that, all underlying implementations such as create a file at
the "Z" drive, etc. will be mapped to my dll or services.

Thanks
Tony
Nov 15 '05 #1
6 28596
Hello Tony,

I'd like to follow up with you and see if there is any further I can help.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
Nov 15 '05 #2
Thanks for reply, but is there a way to do this without C/C++?
"Tian Min Huang" <ti******@onlin e.microsoft.com > wrote in message
news:rl******** ******@cpmsftng xa06.phx.gbl...
Hi Tony,

Thanks for your post. I'd like to share the following information with you:
If you want to create a virtual drive just like standard hard disk, you
have to write a kernel-mode device driver. To develop a kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I believe the following DDK sample is very helpful for creating virtual disk driver.

FILE: Ramdisk.sys Sample Driver for Windows 2000
http://support.microsoft.com/default...microsoft.com: 80/support/kb/articles/Q257/4/05.ASP&NoWebCon tent=1

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.

Nov 15 '05 #3
Thanks for reply, but is there a way to do this without C/C++?
"Tian Min Huang" <ti******@onlin e.microsoft.com > wrote in message
news:rl******** ******@cpmsftng xa06.phx.gbl...
Hi Tony,

Thanks for your post. I'd like to share the following information with you:
If you want to create a virtual drive just like standard hard disk, you
have to write a kernel-mode device driver. To develop a kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I believe the following DDK sample is very helpful for creating virtual disk driver.

FILE: Ramdisk.sys Sample Driver for Windows 2000
http://support.microsoft.com/default...microsoft.com: 80/support/kb/articles/Q257/4/05.ASP&NoWebCon tent=1

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.

Nov 15 '05 #4
Tian Min Huang wrote:
Hi Tony,

Thanks for your post. I'd like to share the following information
with you:

If you want to create a virtual drive just like standard hard disk,
you have to write a kernel-mode device driver. To develop a
kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I
believe the following DDK sample is very helpful for creating virtual
disk driver.


Why a driver? Wouldn't a shell namespace extension do what he wants?

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #5
Tian Min Huang wrote:
Hi Tony,

Thanks for your post. I'd like to share the following information
with you:

If you want to create a virtual drive just like standard hard disk,
you have to write a kernel-mode device driver. To develop a
kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I
believe the following DDK sample is very helpful for creating virtual
disk driver.


Why a driver? Wouldn't a shell namespace extension do what he wants?

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #6
Hello Tony,

We have to use C/C++ to create kernel-mode device driver.

As suggested by Arild, you may also consider creating a shell namespace
extension (say, "My Network Places", etc). Please refer to the following
documentation and sample:

The Shell Namespace
http://msdn.microsoft.com/library/de...us/shellcc/pla
tform/shell/programmersguid e/shell_basics/namespace.asp

Creating a Shell Namespace Extension
http://msdn.microsoft.com/library/de...us/shellcc/pla
tform/shell/programmersguid e/shell_adv/namespaceextens ion/namespace.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
Nov 15 '05 #7

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

Similar topics

3
3719
by: Tiziano Bettio | last post by:
Hi there I'm looking for a simple solution of a win32 shell extension (virtual drive). It should make available a new drive with letter, which will be read-only. Instead of a network drive or similar it then should query a server application for directory/file listing. Would be nice to have a lib or similar for that.
1
2278
by: Iwan | last post by:
I have a speciffic task of which i do not know how to start on. The task is to create a virtual drive (like a ram drive og deamon tools). Through this drive files are to be saved and loaded like a normal drive, but the "files" are created runtime by my program. The idea is that the program accessing the drive can not tell the diffrence. Here is what i need: - How to register the drive with windows. - How to create a connection between...
1
2004
by: freddy | last post by:
I would like to create a virtual web drive like what xdrive has. I what this for personal reasons. I know this can be done I just do't know where to start. I would login to my webpage and have a virtual drive Like h:\%username% mapped to my desktop from my webserver.
2
8205
by: Kavitha | last post by:
Hi , Can any one tel me how to create a virtual drive in C#( similar to Gmail Virtual drive).Also tell me what interfaces could be used to create the same. Thanks in Advance Kavitha
4
9166
by: Luc The Perverse | last post by:
Hi - I have very little C# programming experience. I am making a software product which calls for an interface almost identical to Windows Explorer - and I wondered if mounting a "virtual drive" would be feasable for me (someone not good at programming) to implement. -- LTP :)
1
2486
by: Bhaskar Jatav | last post by:
Hello sir, It is highly obliged to tell me how to create virtual drive for any folder,file or any drive. I am working on one in which i need to create virtual drive. please anybody tell me. Thanks and Regards Bhaskar
0
1438
by: sumit.professional | last post by:
Hello Friends, Help required for creating a virtual drive in windows explorer using C# which will work for both 32 bit and 64 bit machine(XP and Vista). Means just want to show a xtra drive in windows explorer. If anybody knows anything like this the please let me know at sumit.professional@gmail.com Thanks in advance :-)
2
1429
by: rksinghal | last post by:
Hi all First I need to create a virtual drive with a fixed drive letter. I want to mount my external hard disk to this location of virtual drive. This drive letter should not changed irrespective of reboot or changing the volume name of external hard disk also. Please let me know the proper place to put my query. Thanks in advance. Regards Rakesh
0
1335
by: eric navara | last post by:
Is there any way to turn (change) a virtual drive into a logical drive in Win7 ?
0
9898
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9748
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11020
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10735
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9506
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7907
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5934
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4143
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.