I have some shortcuts on the Desktop of a Laptop attached to a domain (windows 2012 R2).
The application they access needs to have a drive name , so there is a command that maps a drive X: to the server folder
net use x: \\data-srv\Application
On the shortcut the user has on his laptop I am entering X:\Accounting\AccPack.exe
And it is to start in X:\Accounting.
My problem is that sometimes, instead of the X: , the shortcut gets changed to \\data-srv\application\accounting\AccPack.exe
and it is to start in \\Data-Srv\Application\Accounting
And this causes problems , I need to remove the \\ and put the right one (X:\)
Client Laptop is Windows 10.