Merchants 0 Posted April 14, 2010 (edited) got a problem white run programs if i run notepad for run is this not a problem but if i wana run a exe that is also not a problem but here is the exe makes normal files in the exe directory but i run it form my desktop and the exe is now making files on my desktop not the exe directory any ideas how to fix this ? Edited April 14, 2010 by Merchants Share this post Link to post Share on other sites
Yoriz 6 Posted April 14, 2010 Sorry but i dont really understand from your discription what the problem is, you say you have some (unknown to us) exe that makes files in its own directory but if you put it on the desktop it makes files there, it sounds like that whats its made to do, if your was to just put a shortcut to it on the desktop it would carry on making files in the exe location ? GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Share this post Link to post Share on other sites
Fulano 1 Posted April 14, 2010 From your description, it sounds like you have a problem with the 'working directory' being incorrectly set. Check the second parameter on the help file for Run(). #fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja! Share this post Link to post Share on other sites