Link to home
Start Free TrialLog in
Avatar of icecom4
icecom4Flag for United States of America

asked on

batch to copy to all desktops in windows vista and 7

I need the windows vista/& version of the command line below...
COPY /y \\server\deploy\*.* "C:\DOCUME~1\All Users\DESKTOP\"    <<---this is the WINXP line

This should be a script that runs on the local computer but copies files to ALL account desktops not just the one that the scripted is being executed from.  I tried using %userprofile% but again that only copies to the account being executed from.  

It must be a simple batch command that runs from the local desktop as I am using psexec.  

Thank you.  
SOLUTION
Avatar of btf45
btf45

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of icecom4

ASKER

Cool guys thanks.  These all worked.  Good to know that the folder was hidden.