How hta Changed the Way I Deliver Builds - Part 7 - Opening Windows Explorer

The one thing I do like about the hta interface isn't so much the fact that I now have a way to deliver builds, but the fact that I can add a lot more value to these builds through the same interface. One of the easier, but more popular, additions is the Explore button I have on all my hta files. The idea here is that instead of having to search Windows Explorer through a great list of paths, I can use the variables in the hta to open Explorer straight to where I need to be.

The code for the button is fairly simple:

<div align="left">
<p> 
<input id=startexpldirbutton type="button" value="Explorer" name="startexpldir" style="width=60px" onclick="startexpldir">
</p>

</div>

The sub is fairly straight forward as well. Note how the path has been given it's own variable in this case.

The is the great advantage of having standard company builds which include standard directory structures.

More soon.

Anonymous