Scripting Question

How to Open Folder using HTML button, creating shortcut page.

02/17/2014 5328 views

I have to open some set of folders and registry location on different machines so want to created a page where i will have all those locations name as buttons, so whenever i want i can click and open that location.

Please guide or suggest any better idea.

0 Comments   [ + ] Show comments


All Answers


since you want to run exe's locally on the machine, you'll have to use an .hta file instead of regular HTML.

For more info on how to execute commands in HTA look here: http://www.codeproject.com/Articles/113678/How-to-execute-a-Local-File-using-HTML-Application

For opening regedit and jumping straight to a location, have a look at regjump: http://technet.microsoft.com/en-us/sysinternals/bb963880.aspx

Of course you can also use regular shortcuts to get the same effects.

Answered 02/17/2014 by: pjgeutjens
Red Belt

  • thanks for the reply, i used the above code given and got following error
    error on page : Automation server cant create object.
    I m working on VM
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ