PDA

View Full Version : Extract drive from a folderpath



NewsArchive
07-31-2009, 02:54 AM
Hi,

I read a path to a folder from the registry and need to extract the drive
from this into %DRIVE%
The folderpath could be local (c:\folder\folder....) or a serverpath
(\\servername\drive c\folder\folder...)

Is this possible ?

Cheers,
/Poul

NewsArchive
07-31-2009, 02:55 AM
Poul,

> I read a path to a folder from the registry and need to extract the drive
> from this into %DRIVE%
> The folderpath could be local (c:\folder\folder....) or a serverpath
> (\\servername\drive c\folder\folder...)
>
> Is this possible ?

Is this possible???? Hey, this is SetupBuilder <g>.

See attached screenshot and demo project.

Does this help?

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
07-31-2009, 02:56 AM
I never doubted a second :-)

Thanks.

/Poul