.bat file to copy to All Users desktop

  • Thread starter Thread starter OMS
  • Start date Start date
O

OMS

Hi,

I hope this is the right newsgroup. I apologize if it is not.

I have a .bat file to copy from the network to a workstation. I need to have
this work for "All Users" desktop but don't know how to truncate All Users.
Hope you can help.


COPY R:\DT_FOL~1\DT\*.* C:\DOCUME~1\All Users\DESKTOP\DT_Desktop


Thanks,
OMS
 
OMS said:
Hi,

I hope this is the right newsgroup. I apologize if it is not.

I have a .bat file to copy from the network to a workstation. I need to have
this work for "All Users" desktop but don't know how to truncate All Users.
Hope you can help.


COPY R:\DT_FOL~1\DT\*.* C:\DOCUME~1\All Users\DESKTOP\DT_Desktop

For any console command, just surround a path containing spaces with
quotes:

COPY R:\DT_FOL~1\DT\*.* "C:\DOCUME~1\All Users\DESKTOP\DT_Desktop"
 
Back
Top