Search code examples
windowsscriptingiconsshortcut

How to programmatically move icons' location from Windows Desktop?


I wish to create a startup job that every time that my Windows starts, it will rearrange some shortcut icons from my desktop to another location, such as right-bottom for example.

Can I make it with VBScript, Powershell, bat command script or even with C\C++\C#\Java?


Solution

  • Desktop is an ordinary listview so you can use windows api to move items to different locations. Have a look at this similar question: How can I programmatically manipulate Windows desktop icon locations?