Alfred's New Ramblings

Share names and scripts.

I was asked to check a problem with a customer’s login script.  Seems that some of the shares are not appearing on the user computers.

At the user end, browsing to the shares does not reveal a problem with permissions, therefore it has to be the script not working properly.

Turns out the share name contains a space.  that is  \\servername\Project Management.  The user computer choked on the space between Project and Management.  Putting the entire string in quotes solved the problem.

net use k: “\\servername\Project Management”

Gone were days when you create a share more than 8 characters you get a warning about compatibility.

Tagged on: