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
Solved

copy file to CSIDL_DESKTOP

Posted on 2004-04-15
3
607 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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
ntdlr  is missing or corrupt 15 146
Virtual PC for Windows 10 18 255
windows seems to be corrupt 10 82
Need IE 6 on Win 7 or Win 10 23 105
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…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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