An extra \ added to a quoted input directory means that the directory path will have an escaped quote in the path. This will cause the "does that directory exist" check to fail
Example: sra.exe -d "C:\\test dir\\3\\"
Lets sanitize the directory input