Hello Gavin,
> Guillaume,I think what you're trying to do can be done with the
> "subst" command. Below is the link to its
> syntax.http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/subst.mspx?mfr=true
Not at all. The old DOS subst command simply remaps one drive to another.
I would like to write a service that when the OS tries to access, say,
F:\somedir\somefile.txt
the file (and the directory structure) gets created on the fly by my
program. A virtual drive.
There are programs that do this (TrueCrypt, SftpDrive, PowerIso...) for
specific applications (encrypting a drive into a file, showing an ssh
connection as a drive, showing an iso as a drive...)
I imagine there are plenty of special windows API calls involved but I
don't even know what they are called.
--
Guillaume Dargaud
http://www.gdargaud.net/