A real bug in RegRead of binaries.RegRead,"HKLM","SYSTEM\MountedDevices","\DosDevices\%SourceDrive%","%MountedDevice_SourceDrive%"
echo,"%MountedDevice_SourceDrive%"
RegWrite,"HKLM",0x3,"SYSTEM\MountedDevices","\DosDevices\%SourceDrive%_debug","%MountedDevice_SourceDrive%"
Will be fixed next beta.
Workaround:
[process] RegRead,"HKLM","SYSTEM\MountedDevices","\DosDevices\%SourceDrive%","%MountedDevice_SourceDrive%" echo,"%MountedDevice_SourceDrive%" StrFormat,LTRIM,%MountedDevice_SourceDrive%,5,%MountedDevice_SourceDrive% echo,"%MountedDevice_SourceDrive%"
Peter
EDIT: When 077 beta 3 appears the bug is fixed, and the workaround would remove the first (valid) byte.
A better workaround is:
If,%Version%,SMALLER,77.03,StrFormat ...