Onion-Desktop-Tools icon indicating copy to clipboard operation
Onion-Desktop-Tools copied to clipboard

SD Card not detected

Open Giotino opened this issue 1 year ago • 5 comments

My SD Card is not detected.

This is the output of .\RMPARTUSB.exe LIST:

*DRIVE 5 -    59.6GiB TS-RDF5 SD  Transcend           Fw=TS37  Sno=d@             G:

The regex at https://github.com/schmurtzm/Onion-Desktop-Tools/blob/a47445a8511b906a4af4147902e23d47ba157f4d/Disk_selector.ps1#L52 doesn't match the @ in the Sno, I fixed it by replacing it with

'\*?DRIVE (\d+) -\s+([\d.]+[KMGTP]?iB)\s+(.*?)\s+Fw=(\w+)*\s+Sno=([\w@]+)*\s+(\w+):'

I don't know if Sno can contain more special characters.

Giotino avatar Dec 06 '23 17:12 Giotino