Mapping drive with unconventional folder name "A.B. Company Name"

I need to map a drive on clients systems. The problem I am having is the folder name is "A.B. Company Name".

I can map the drive on each client with no issue but trying to GRO or Batch using Net Use Z: "\\Server\A.B. Company Name" fail.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Open a Command Prompt and then type:

Net Use Z: "\\Server\A.B. Company Name"

This should report a numerical error number. Please post here.
KyleAuthor Commented:
If I run Net Use Z: "\\Server\A.B. Company Name" from CMD it maps properly.

When I run the exact command from the logon script I get the error that I am not using the proper switches.
KyleAuthor Commented:
Using net use Z: "\\SERVERNAME\A.B. Company Name" didn't work but net use Z: "\\servername\A.B. Company Name" made the difference.

Not sure why using capitals caused the failure only on that 1 mapped drive and not the others, but it did.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lee W, MVPTechnology and Business Process AdvisorCommented:
You could have also created a second share name for the folder.
KyleAuthor Commented:
Lee, the company has some very non standard applications that are shortcut to that drive and that would mean redoing all shortcuts and program settings to point to the new share.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.