USED'
Reports drives which are accessible or
in use. This is the default. This includes all local and remote drives.
'FREE'
Reports drives which
are free or not in use.
'LOCAL'
Reports
only those drives which are local drives.
'REMOTE'
Reports only those drives which are remote drives
such as redirected LAN resources, IFS attached drives, and so on.
'DETACHED'
Reports drives which are detached LAN resources.
Purpose:
Reports
all accessible drives in the form 'C: D: E:...'
Example:
/* Code */
say 'Used drives include:'
say SysDriveMap('C:', 'USED')
/* Output */
Used drives include:
C: D: E: F: W: