> I'm looking for a way to identify the disk number of a given drive on
> NT. For instance, there are two disks, disk 0, and disk 1, on a NT
> box. Disk 0 has three partitions, and are currently assigned drive
> letters, D, E, and F, respectively. Disk 1 has one partition, and is
> assigned drive letter G.
> 
> I cab get this relationship from disk administrator. But have so far
> not found a way to script it.
> 
> Linchi

See if what you get from

        use Win32::FileOp;
        print Substed( 'C:' );

is enough.

Jenda

== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
: What do people think?
What, do people think?  :-)
             -- Larry Wall in <[EMAIL PROTECTED]>
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to