How to pass a password with special characters to Windows?

[email protected]
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <[email protected]>
I have:

1. An Apple silicon machine running Sequoia 15.2, with zsh 5.9 
(arm64-apple-darwin24.0).

2. A Windows 10 machine with an NTFS internal drive that I want to mount 
to the Mac.

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).

This command works to mount the drive, but prompts for the password:
mount -t smbfs //[email protected]/D /Users/Shared/Windows-D\

How can I pass the password with the mount command in a format that 
Windows can read?  The password can be passed either through Keychain or 
in plain text in the command; but I don't know how to do either 
successfully.

I have "A User's Guide to the Z-Shell" available, but it was a bit 
overwhelming for me.



Thanks,

Ken
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.