What code in a batch file would copy the desktop shortcuts into a folder in x32Win10ProV22H2 ?
Posted 04 April 2024 - 11:12 AM
What code in a batch file would copy the desktop shortcuts into a folder in x32Win10ProV22H2 ?
Posted 04 April 2024 - 11:22 AM
I'm not sure what you are aiming for, but any shortcut on your desktop can be drag & dropped into any folder you want in File Explorer (unless you want all shortcuts created to automatically be posted in the folder by default).
If there are no responses to my post for 3 days I remove it from my answer list. If you wish to continue the thread after 3 days please PM me.
Posted 04 April 2024 - 04:58 PM
Can try holding Shift Key Down then start clicking your Short Cuts then drag and drop.
Putting all Shortcuts into a folder does is make them be forgotten about. Better off Deleting them.
Or move them off the Desktop to another drive then make a shortcut to that drive. Or Make a shortcut to a folder on another driver/partition then make a shortcut on the Desktop
or Quick Launch.
" mosquitoes really wake up everyday and choose violence " — dalia (@_dalia7)
www.cnn.com/2020/07/23/health/mosquitoes-attraction-humans-future-wellness-scn/index.html
I-7 ASUS ROG Rampage II Extreme / ASUS TUF Gaming F17 / I-7 4770K ASUS ROG Maximus VI Extreme
Posted 04 April 2024 - 05:07 PM
Have a read of this:
Posted 05 April 2024 - 10:44 PM
Ranchhand - I don't want a method - I want code for a batch file.
BC Advisor - ditto.
What is more I do REALLY want to copy shortcuts to a folder and NOT what you suggest.
Moderator - thank you for that reference - it is tangentially relevant. My difficulty is different from the one in that thread in so far as I do not want to create a folder or MOVE shortcuts. My difficulty is that I have no 'correct' name for the desktop folder - "copy C:\......\desktop\'.lnk C:\specified folder\" does not work because I lack the information that I have designated as "....\desktop\"
Actually - that URL DOES give me the path I am looking for - it is "C:\Users\name\Desktop"
That SHOULD solve my problem - I hope it does.
Yippee ! It does !
The successful code is :
Copy C:\Users\Name\Desktop\*.lnk "C:\path to destination folder\"
Edited by Bastie, 05 April 2024 - 11:05 PM.
Posted 05 April 2024 - 11:17 PM
US Navy Veteran from 2002 to 2006
Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015
Arch Desktop - https://termbin.com/epij
Arch Laptop - https://www.termbin.com/dnwk
Ubuntu Server - https://termbin.com/zvra
Posted 05 April 2024 - 11:27 PM
I'm happy you got it sorted
Posted 07 April 2024 - 07:03 PM
Insignificant results : Copy C:\Users\Name\Desktop\*.lnk "C:\path to destination folder\"
" mosquitoes really wake up everyday and choose violence " — dalia (@_dalia7)
www.cnn.com/2020/07/23/health/mosquitoes-attraction-humans-future-wellness-scn/index.html
I-7 ASUS ROG Rampage II Extreme / ASUS TUF Gaming F17 / I-7 4770K ASUS ROG Maximus VI Extreme
0 members, 1 guests, 0 anonymous users