megahyperion 0 Posted October 28, 2004 (edited) I am using DirCreate(@StartMenuDir & "\myprogram") sleep(450) FileCreateShortcut("C:\Program Files\myprogram\" & $filename & ".exe",@StartMenuDir & "\myname.lnk", "", "", "anything", "C:\Program Files\myicon.ico") it does work, but it puts the start menu entry where it shouldnt go, well where I dont think it belongs anyway. It puts it above all the other programs on its own line. The only other 2 things I have up their are the 2 msoffice linbks that go up there for ms access. is there a way to get it to go in with the rest of the programs ? thanks Oh yeah dont mind the $filename section, the actual filename of what will be put in the start menu is a variable depend on user selectable options through the gui im using. Edited October 28, 2004 by megahyperion Share this post Link to post Share on other sites
megahyperion 0 Posted October 28, 2004 DUH !!!!! I forgot to put \programs in there jeez, I need some sleep DirCreate(@StartMenuDir & "\programs\myprogram") Share this post Link to post Share on other sites
JSThePatriot 18 Posted October 29, 2004 Use DOS.<{POST_SNAPBACK}>LOL Python he already got it figured out before anyone could post JS AutoIt LinksFile-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.ComputerGetInfo UDF's Updated! 11-23-2006External LinksVortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Share this post Link to post Share on other sites
Guest Py7|-|[]/\/ Posted October 29, 2004 Batch, MKDIR Share this post Link to post Share on other sites
JSThePatriot 18 Posted October 29, 2004 I understand what you are talking about, but my point was that he already solved the problem without trying to use a batch program. There is no reason to create a batch file when autoit can do it without a problem. My total point in bringing all this up was just the simple fact he didnt need another answer I didnt know if you saw that JS AutoIt LinksFile-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.ComputerGetInfo UDF's Updated! 11-23-2006External LinksVortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Share this post Link to post Share on other sites
Guest Py7|-|[]/\/ Posted October 29, 2004 I saw it, but there are more ways to skin a cat. And I'm not sure of this, but a batch file will probably be easier to write, possibly smaller, and a lot quicker. Share this post Link to post Share on other sites
JSThePatriot 18 Posted October 29, 2004 Yes thank you for explaining your logic. There are always more than one way to skin a cat JS AutoIt LinksFile-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.ComputerGetInfo UDF's Updated! 11-23-2006External LinksVortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Share this post Link to post Share on other sites
megahyperion 0 Posted October 31, 2004 I saw it, but there are more ways to skin a cat. And I'm not sure of this, but a batch file will probably be easier to write, possibly smaller, and a lot quicker.<{POST_SNAPBACK}>The dircreate is triggered by an "OK" click in my gui.and the dircreate only took up 3 lines in my script, it was pretty simple imo.thanks for the suggestion though. Share this post Link to post Share on other sites
Guest Py7|-|[]/\/ Posted October 31, 2004 DOS = MKDIR "C:\Program Files\Startup\NameHere" 1 line =) and no enter confirmation heh Share this post Link to post Share on other sites