Re: How to pass a password with special characters to Windows? - SOLVED
Lawrence Velázquez <[email protected]>
| Newsgroups | gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jan 17, 2025, at 8:14 PM, [email protected] wrote: > With your input, I was able to find the winning combination: Good to hear it. > mount -t smbfs //username:****"%5E"*******"%25""%29"@10.0.0.23/D > /Users/Shared/Windows-D\ While that quoting is valid, it's pretty unorthodox (and, frankly, hideous). It would be more sensible to just single-quote the whole thing so you don't have to worry about zsh interpreting any special characters anywhere in the path: '//username:****%5E*******%25%[email protected]/D' > On 1/17/25 4:12 PM, Lawrence Velázquez wrote: >> On Fri, Jan 17, 2025, at 3:29 PM, [email protected] wrote: >>> 3. A password on the Windows machine that cannot be changed, and >>> contains three special characters. The password, with the letters and >>> numbers obfuscated is: ****^*******%) (all * are either numbers or >>> letters). >> >> What's the third special character? Oh I see, the third character is ")". I'd assumed that was closing a parenthetical phrase. -- vq