Solved

Virtual Drive

Posted on 2002-03-31
2
248 Views
Last Modified: 2013-11-15
Hi,

How can I create a virtual Drive that is a map of a folder from my harddisk?

It's like creating a map network drive, but the folder is from my own computer. Please let me know how to do that with Delphi 5.0.

Thank you.
0
Comment
Question by:totok
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Expert Comment

by:Stuart_Johnson
ID: 6908656
This is the easiest way I know of.

ShellExecute(0, 'OPEN','SUBST','P: C:\WINDOWS','', SW_HIDE);

Uses ShellAPI.


Hope this helps,

Stu.
0
 
LVL 20

Accepted Solution

by:
Madshi earned 100 total points
ID: 6922550
There is an API for this purpose, it's called DefineDosDevice.

Regards, Madshi.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question