Most viewed recipes tagged "exe" Code RecipesSearching .dll and .exe files in PATH (Python) 2014-10-06T09:22:53-07:00Michal Niklas <p style="color: grey"> Python recipe 576522 by <a href="/recipes/users/186902/">Michal Niklas</a> (<a href="/recipes/tags/dll/">dll</a>, <a href="/recipes/tags/exe/">exe</a>, <a href="/recipes/tags/file/">file</a>, <a href="/recipes/tags/version/">version</a>, <a href="/recipes/tags/windows/">windows</a>). Revision 7. </p> <p>Returns the pathnames of the file (.exe or .dll) which would be loaded/executed in the current environment. It uses some dirs from configuration (SystemDir, WindowsDir) and dirs from PATH.</p> <p>To obtain version info it uses code from: <a href="" rel="nofollow"></a></p> <p>Example of usage:</p> <pre class="prettyprint"><code> c:\tools\pyscripts\scripts&gt; libpq.dll 2008-06-09 02:58:26 167936 [b] c:\postgresql\8.3\bin\libpq.dll ver: 2008-03-17 01:47:50 167936 [b] c:\tools\libpq.dll ver: 2008-03-17 01:47:50 167936 [b] g:\public\libpq.dll ver: trying to load "libpq.dll" ... c:\postgresql\8.3\bin\libpq.dll loaded </code></pre> KYSU (Keep Your Stuff Updated) (Python) 2012-07-29T01:12:01-07:00Gamoholic <p style="color: grey"> Python recipe 578174 by <a href="/recipes/users/4182585/">Gamoholic</a> (<a href="/recipes/tags/automatic/">automatic</a>, <a href="/recipes/tags/exe/">exe</a>, <a href="/recipes/tags/installer/">installer</a>, <a href="/recipes/tags/updated/">updated</a>, <a href="/recipes/tags/updater/">updater</a>). Revision 5. </p> <p>I wrote this program to keep my Samba share up to date. The Samba share contains installers for the programs that I use to fix and update computers (ccleaner, mbam, java, .etc). It can also be used for ISO's such as clonezilla.</p> <p>For the latest version of the script and the accompanying files please go to GitHub.</p> <p><a href="" rel="nofollow"></a></p> <p>!!! Important! The only OS I have tested this on is Ubuntu. I will test Windows soon. If it doesn't work on any other OS please let me know! Also, I have no idea how well this works with Python 3. I may test that eventually.</p>