Solved

copy file to CSIDL_DESKTOP

Posted on 2004-04-15
3
601 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
ID: 10837038
What about

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

?
0
 

Author Comment

by:shcurry
ID: 10837062
I get this...
The syntax of the command is incorrect.
0
 

Author Comment

by:shcurry
ID: 10837080
I got it. Put quotes around "%USERPROFILE%\Desktop"

Thanks again!
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

19 Experts available now in Live!

Get 1:1 Help Now