R
Romain
Hi,
First of all, I'm sorry for many mistakes that I could write because I'm
French ...
So ! I have to list hard drives on remote servers (in a full Windows
environnment). A Perl script is running on only one server. With the
server hostname, I will give back these hard drives. In fact, I just
have to have drives letters. I try the Win32::NetAdmin::GetServerDisks()
function, but it returns *all* fixed drives, including floppy and cd-rom
drives. Floppy isn't really a problem, because I remove the "A:" letter,
but for the cd-rom, I don't know which letter it's represent.
Is a function that returns only hard drives exists ? And can it be used
remotely ?
Thanks for your help,
Best regards,
;-) Romain
(Once, sorry for my bad english...)
First of all, I'm sorry for many mistakes that I could write because I'm
French ...
So ! I have to list hard drives on remote servers (in a full Windows
environnment). A Perl script is running on only one server. With the
server hostname, I will give back these hard drives. In fact, I just
have to have drives letters. I try the Win32::NetAdmin::GetServerDisks()
function, but it returns *all* fixed drives, including floppy and cd-rom
drives. Floppy isn't really a problem, because I remove the "A:" letter,
but for the cd-rom, I don't know which letter it's represent.
Is a function that returns only hard drives exists ? And can it be used
remotely ?
Thanks for your help,
Best regards,
;-) Romain
(Once, sorry for my bad english...)