From: Chris McMahon <[EMAIL PROTECTED]> > Hi... > I was hoping to use Perl to invoke the MS utility "diskpart" to > script some disk management, especially in order to rename drives and > partitions. > Unfortunately, diskpart is an XP utility-- on Win2K, I can use > diskpart to strip the letter from the drive, but attempting to assign > a new letter yields an error msg. that "this operation is not > supported on your version of Windows". > Does anyone know if Perl is capable of stripping/assigning drive > letters on Windows 2000? And if so, how? Or where I could read more? > -Chris
I think the Unsubst() and SubstDev() in Win32::FileOp should allow you to do this. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]