Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to use the Windows command line to get or change the positions of icons the screen?

For example, I can drag and move a file's icon on my desktop. How would I retrieve that position from the command line, or any other tool?

share|improve this question

migrated from May 24 '12 at 14:48

This question came from our site for professional and enthusiast programmers.

It's funny this was migrated from Stack Overflow, when it's actually almost a duplicate of one of their own questions. The accepted answer details a registry key (accessible through the command line, but it's.. very hackish) and even links to a sample (GUI) program. – Bob May 24 '12 at 15:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.