Author Topic: Copy shortcut via batch file  (Read 2327 times)

0 Members and 1 Guest are viewing this topic.

ronjonp

  • Needs a day job
  • Posts: 7531
Copy shortcut via batch file
« on: December 14, 2004, 03:54:15 PM »
This isn't lisp related, but how do you copy a shortcut to another location via batch file? I made a shortcut to the batch that I run at startup but it does not copy shortcuts, just files?


Code: [Select]
:COPIES LINK TO STARTUP
xcopy  "S:\-AutoCAD Routines-\Updater\Auto_Update.bat" "%allusersprofile%\Start Menu\Programs\Startup\"/R/S/I/Y/K/D/Q



Ron

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

ronjonp

  • Needs a day job
  • Posts: 7531
Copy shortcut via batch file
« Reply #1 on: December 14, 2004, 05:13:40 PM »
Not exactly the route I wanted to take, but I moved the link to a subfolder called startup and copied it using *.*.

It works OK.

Ron

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC