Solved

copy file to CSIDL_DESKTOP

Posted on 2004-04-15
3
610 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
User laptop information 6 144
MMC - Computer Management / Display Properties 3 58
USB KEYBOARD AND MOUSE FAILS AFTER WIN-XP LOADS 18 94
A question on Active Directory LDS 4 26
If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 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