Yes, in languages where backslashes are escaped (C/C++/Java/C#/Python*), the string "\" will be represented "\\". As noted in my answer, the command-line is not one of those places, so if the parameter is being passed from the command-line, the string "\" must be used ("\\" attempts to find the empty-string named child of the empty-string dataset [which can't exist, so no rows are returned]).
- V
* Except when a literal flag is used on the string, e.g., "path = r'\' "