Copy file to all users desktop

Posted by 883VV on Server Fault See other posts from Server Fault or by 883VV
Published on 2010-06-01T09:43:11Z Indexed on 2010/06/01 9:44 UTC
Read the original article Hit count: 174

Filed under:
|
|

I want to copy a file to all users desktop on Windows 7 by using a batch file with the command:

COPY C:\FOLDER\FILE.TXT %AllUsersProfile%\Desktop

But the message "Permission Denied" is shown. How can i get the batch file to request evaluated privileges so i can click "Yes" instead of just denying?

© Server Fault or respective owner

Related posts about windows-7

Related posts about permissions