This share name does not contain any leading spaces so I can't remove them. It only contains one space in the middle of the name. I fully agree with the fact that there should not be spaces in share names, but I didn't setup this environment and do not have the rights to change it. Any help for a solution is appreciated