Mounting an SMB drive via AppleScript
问题 I've written and AppleScript App that runs a "mount -t smbfs " command to mount a Windows Shared drive that our Staff use. The App has been used successfully for a number of months until today. If a user has an @ symbol in their password the application fails. The path is rejected. Here's the script: -- Teaching Drive Access --Get The Shortname and PC Password of current user --set PCusername to (short user name of (system info)) set PCusername to "benstaff" --set PCPassword to text returned