Add Persistent Mapped Drive For Shared Files

Microsoft Dynamics GPMicrosoft Dynamics GP and related products, such as Integration Manager, have a few files which need to be shared between client machines. This can, and in a lot of cases should, be done using a shared folder accessed via the UNC path (e.g. \\file\Dynamics Central to access the Dynamics Central folder on the server called file).

However, if any of these files need to be accessed by users then using the UNC path isn’t the friendliest of ways. Instead a mapped drive can be used which shows up in Windows Explorer and allows the user to easily access it and each user needs the drive mapped under the same folder.

While mapped drives can be created manually on each client machine this would take while. Instead we can create a batch file which can be run on each machine which will add the mapped drive for us:

net use M: /delete
net use M: "\\file\Dynamics Central" /persistent:YES

The first line deletes any existing M: and the second then creates a persistent (one which will be retained when the PC is rebooted) mapped drive on the drive letter M using the Dynamics Central folder on the server called file.

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Looking for support or consultancy with Microsoft Dynamics GP?

I no longer work with Microsoft Dynamics GP, but the last company I worked for was ISC Software in the UK; if you’re looking for support or consultancy services with Microsoft Dynamics GP you can contact them here.

2 thoughts on “Add Persistent Mapped Drive For Shared Files

Leave a Reply

Your email address will not be published. Required fields are marked *