Help Escaping Escape Characters in AppleScript?
Trying to convert my existing shell script to AppleScript to configure our Macs to Active Directory. Stuck on the following, which appears to be a case of escaping escape characters. Thoroughly lost. Anyone with experience in this? If I remove the space between the double-backslash and escaped quotations to follow, the script fails. Eliminating that space is just what I need to do to get the correct syntax.
set domain to "MYDOMAIN"
set admins to "MYADMINS"
do shell script "dsconfigad -groups " & domain & "\"\\ \"" & admins with administrator privileges
Thanks in advance for any advice here. Feel like this must be something obvious I a missing here.
Cliff