Solved

copy file to CSIDL_DESKTOP

Posted on 2004-04-15
3
597 Views
Last Modified: 2010-05-18
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
Comment
Question by:shcurry
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 50 total points
Comment Utility
What about

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

?
0
 

Author Comment

by:shcurry
Comment Utility
I get this...
The syntax of the command is incorrect.
0
 

Author Comment

by:shcurry
Comment Utility
I got it. Put quotes around "%USERPROFILE%\Desktop"

Thanks again!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now