From:                   "padula, domenic" <[EMAIL PROTECTED]>
> I'm looking for information of how to partition and assign drive
> letters to raw devices in Windows NT and Windows 2000.  The devices
> are in the format of \\.\Physicaldrive <file://\\.\Physicaldrive>  . 
> I'm thinking I'd have to use Win32API. 

Has been done for you :-)

        use Win32::FileOp; # http://Jenda.Krynicky.cz
        SubstDev 'e:', 'HarddiskVolume1'

Jenda

P.S.: Make sure you do NOT UnSubst or re Subst a drive that 
contains files that are being used (like the disk where you have 
your WinNT directory for example) !

=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
                                        --- me
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to