package Psh
::Builtins
::Drives
;
Prints a list of the available drives on Windows or nothing on windows
# I do not particularly like platform dependant code here
# On the other hand I also dislike filling the Psh::OS module
# with stuff for highly optional builtins
eval "use Win32::NetAdmin;";
Win32
::NetAdmin
::GetServerDisks
("",\
@result);
Psh
::Util
::print_out
($_."\n") foreach @result;