Thursday 26 December 2019

How do I prevent Windows 10 removing desktop shortcut parameters?

Something(??) zapped the parameters on ALL my shortcuts recently.


For example, a shortcut such as:


 "%JAVA_HOME%\java" -jar myApp.jar

Stopped working, because it had been modified to:


 "%JAVA_HOME%\java" 

No more parameters. :-( Reconstructing them took quite some time and I'd like to prevent needing to go through that again.


Can you say ...



  • What tool / update or whatever may have caused this?


  • Offer a method to prevent that happening again?



    • Clearly, I need to ensure my desktop keeps getting backed-up (too).

    • I'd prefer at the same time to NOT have to delve into backups if I can prevent the wipe in the first instance. Many thanks in advance.

    • Finally, do you know of a tool that will let me (re-)create shortcuts from CMD file. May be something like:


    make-shortcut "command line" "start-location" ["icon-path"]




Hopefully that conveys the idea.


possibly related:

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...