I think at the point of trying to run the command file, the char is already converted, so it wouldnt be any use to try different command options.

Why not just do it in kix instead of from a cmd file?...

 Code:
Shell 'dsquery user -name "'+$UserName+'" "'+$UserOU+'"'