.HTA application launcher ... is it that hard to do?
February 23, 2010 3:32 AM Subscribe
I've been trying to write a .hta file that will show the contents of a directory in the "medium icons" style, that won't let me accidentally change the style, and that doesn't have any navigation options.
This is for an application launcher, I have all my icons in one directory and I'd like to have an app launcher that always shows them.
Does anyone have any HTA chops, or has seen a similar tool?
Thanks!
This is for an application launcher, I have all my icons in one directory and I'd like to have an app launcher that always shows them.
Does anyone have any HTA chops, or has seen a similar tool?
Thanks!
Best answer: Then you can use psexec to launch local applications using PHP with proc_open.
$var1=array();
$var2=array();
$cmdline="C:\\apache2.2\\htdocs\\psexec.exe \\\\localhost -accepteula -i -d \"C:\\program files\\path\\to\\exe.exe\" && exit";
$proc=proc_open($cmdline, $var1, $var2);
proc_close($proc)
Sometimes using && exit will work, sometimes not.
Also only use proc_close if the psexec stays open after program execution. (that's what && exit should be for)
posted by PowerCat at 6:07 AM on February 23, 2010
$var1=array();
$var2=array();
$cmdline="C:\\apache2.2\\htdocs\\psexec.exe \\\\localhost -accepteula -i -d \"C:\\program files\\path\\to\\exe.exe\" && exit";
$proc=proc_open($cmdline, $var1, $var2);
proc_close($proc)
Sometimes using && exit will work, sometimes not.
Also only use proc_close if the psexec stays open after program execution. (that's what && exit should be for)
posted by PowerCat at 6:07 AM on February 23, 2010
This thread is closed to new comments.
posted by delmoi at 5:00 AM on February 23, 2010