As you will find I will be writing a lot of batch files. I need to create a batch file to place an icon on the desktop .... Easy. Is there a way to place it in a specific location on the screen?(possibly by pixel?).
How-To Geek Forums » Geek Stuff
Another Batch file question
(18 posts)Haha. Umm I don't know how to do that in a batch file, but figuring it out with Autohotkey could be a possibility. You could incorporate an autohotkey script into your batch file. http://www.autohotkey.com/
@ jd2066,
I work for an accounting firm with about 60-70 users. I am one of 2 network admins. I told the other network admin that I had created a batch file to add a shortcut to the desktop for a piece of software that I was going to put in an email and have the users run themselves.(I'm a lazy IT person what can I say ...). After that he challenged me to have it put in a specific spot on the desktop. (I.e. the lower right hand corner). That way in the email we could say that it would appear there. I know that it is a trivial thing but now it’s a thorn in my side because I know there must be a way to do it and its going to be an annoyance until I do it. I will let you guys know if I am ever successful. At this point I don't know if I will be.
You might be able to do it with AutoIt3 as there is an script at http://www.autoitscript.com/fo.....opic=53209 that uses it for saving and restoring desktop icon positions.
Though I think in the end trying to make a script that does what you want maybe more work then it's worth.
Reply
You must log in to post.

