Hi All,
In an effort to automate the copying of files from a user "documents and settings" desktop, I started with this batch.
MD P:\__ForMove\Desktop (P: is a mapped resource)
COPY "%Userprofile%\Desktop *.*" P:\__ForMove\Desktop
:EXIT
__ForMove\Desktop is created, but nothing is copied from the %Userprofile%\Desktop. (you know, all the junk the users leave on their desktops)
What am I doing wrong here?
TIA, Alan
In an effort to automate the copying of files from a user "documents and settings" desktop, I started with this batch.
MD P:\__ForMove\Desktop (P: is a mapped resource)
COPY "%Userprofile%\Desktop *.*" P:\__ForMove\Desktop
:EXIT
__ForMove\Desktop is created, but nothing is copied from the %Userprofile%\Desktop. (you know, all the junk the users leave on their desktops)
What am I doing wrong here?
TIA, Alan