Not sure where to put this question, but I'm trying to create a batch file to map a network drive, then copy a shortcut from a folder on that drive to the desktop of the current users profile.
I've tried a bunch of different things, but can't seem to get the copy part to work. Here's what I have for the drive mapping:
net use G: \\bmc-fileserver\public /persistent:yes
Now, there is a folder in the "public" folder named "OncologyRegistry", with a shortcut in that folder named "OncologyRegistry.accdr" that I want to be copied to the desktop of the current user only.
Can anyone help?
I've tried a bunch of different things, but can't seem to get the copy part to work. Here's what I have for the drive mapping:
net use G: \\bmc-fileserver\public /persistent:yes
Now, there is a folder in the "public" folder named "OncologyRegistry", with a shortcut in that folder named "OncologyRegistry.accdr" that I want to be copied to the desktop of the current user only.
Can anyone help?