<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">

</div></div>What does %~dp0 stand for?<br>
<br></blockquote><div>It's the script directory. <a href="http://www.computerhope.com/forum/index.php?topic=54333.0">http://www.computerhope.com/forum/index.php?topic=54333.0</a><br>As eric4(5).bat is in Python  executable's dir. I copied the code from Python31\Lib\idlelib\idle.bat<br>
</div></div>