Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 627
  • Last Modified:

copy file to CSIDL_DESKTOP

My boss has challenged me to find a way to copy a database file from our server to certain users' desktops via our login script or other batch file. He does not want it copied to the allusers desktop. Our users are all on XP machines.

Thanks in advance,
shcurry
0
shcurry
Asked:
shcurry
  • 2
1 Solution
 
jkrCommented:
What about

copy \\server\\share\file.ext %USERPROFILE%\Desktop

?
0
 
shcurryAuthor Commented:
I get this...
The syntax of the command is incorrect.
0
 
shcurryAuthor Commented:
I got it. Put quotes around "%USERPROFILE%\Desktop"

Thanks again!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now