Hi!
Needed this for a project of mine and I thought that someone else might need it.
UDF:
; #FUNCTION#;===============================================================================
;
; Name...........: _DriveGetClusterSize
; Description ...: Returns the cluster size of a drive
; Syntax.........: _DriveGetClusterSize([$sDrive=@HomeDrive])
; Parameters ....:
; Return values .: Success - Cluster size in bytes
; .; Failure - -1 and @error=1
; Author ........: Andreas Karlsson (monoceres