Re: copying files to desktop

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



>Windows XP: I need to add a copy command in a logon script,
>to copy files from a mapped drive location to the current users desktop.
>
>Does anyone know the path of the current users desktop.

Graham,

Does this give the correct directory:

>dir "%USERPROFILE%\Desktop"

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
.



Relevant Pages

  • copying files to desktop
    ... I need to add a copy command in a logon script, ... to copy files from a mapped drive location to the current users desktop. ... Does anyone know the path of the current users desktop. ...
    (microsoft.public.vstudio.general)
  • Copying files to a dsktop
    ... I need to add a copy command in a logon script, ... to copy files from a mapped drive location to the current users desktop. ... Does anyone know the path of the current users desktop. ...
    (microsoft.public.windows.server.scripting)
  • [HPADM] TCP ports question
    ... HP command to allow me to do this. ... quickmate application that runs on the users desktop. ... machine on a randomly generated port. ... the application doing this, if from the windows machine, I can tell what ...
    (HP-UX-Admin)
  • TS User profiles location/moving
    ... If your logon script is vbs try testing this: ... where the My Documents folder location is defined. ... >profiles are on the same ...
    (microsoft.public.windows.terminal_services)
  • Re: Copying files to a dsktop
    ... In message, Graham Bennet writes ... to copy files from a mapped drive location to the current users desktop. ... Does anyone know the path of the current users desktop. ... MVP - Admin Frameworks and Security ...
    (microsoft.public.windows.server.scripting)