Create a batch file to place a shortcut on a desktop

G

Guest

I need to write a batch file that will copy a shortcut from a shared drive to the current user's desktop. I have the ability to copy the shortcut to the desktop folder for all users , but these are limited users and it won't run for them. Does anyone know of a way to dircect the copied shortcut to the desktop folder for the current user only

Thanks
Connie
 
F

Frank GoBell

ConnieN said:
I need to write a batch file that will copy a shortcut from a shared
drive to the current user's desktop. I have the ability to copy the
shortcut to the desktop folder for all users , but these are limited
users and it won't run for them. Does anyone know of a way to
dircect the copied shortcut to the desktop folder for the current
user only?

Thanks!
Connie

Replace the All Users section of the path with the environment variable
%username%.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top