Put the share name in double quotes as a string. The presence of the $ sign can cause problems for Kixtart.