rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: bartwell on April 03, 2011, 08:25:18 PM

Title: Running external *.exe
Post by: bartwell on April 03, 2011, 08:25:18 PM
Hello!
I need to run some *.exe on my computer by link clicking. Is it possible on HFS?
Thank's.
Title: Re: Running external *.exe
Post by: coffee-turtle on April 03, 2011, 09:31:48 PM
I think it has to download first to your machine and then ran from your computer if you are using HFS. If it's all internal to your network, you could map a drive to the share.
Title: Re: Running external *.exe
Post by: bartwell on April 03, 2011, 09:54:40 PM
Sorry, you don't understand me.
I already use HFS and that is very-very good program. But, sometimes, I need to do some operations with my computer from remote computer: run exe, reboot and other. May be I can make some link in HFS, which will run exe?
Title: Re: Running external *.exe
Post by: Mars on April 03, 2011, 10:27:21 PM
you can use the macro {.exec|exefilename|params.}, you have to manage where launch it ( section or event )
Title: Re: Running external *.exe
Post by: bartwell on April 04, 2011, 09:20:44 AM
Thank's a lot! I will try to understand.
Title: Re: Running external *.exe
Post by: rejetto on April 06, 2011, 03:45:24 PM
let say you want to run reboot.exe
create a folder named "reboot"
right click, properties, diff template, and put this text

{.exec|C:\reboot.exe.}
Title: Re: Running external *.exe
Post by: bartwell on April 06, 2011, 04:02:43 PM
{.exec|C:\reboot.exe.}

Thank you very much for so realizable instructions. But it doesn't work: when I click "reboot" folder in my browser I see text "{.exec|C:\reboot.exe.}" and exe doesn't run. What's wrong? HFS version 2.2F (155).
Title: Re: Running external *.exe
Post by: SilentPliz on April 06, 2011, 04:14:09 PM
Macro works only with beta 2.3 #XXX

Rejetto's explanation was just a example.

reboot.exe must exist in c:\


Current beta release:

http://www.rejetto.com/forum/index.php/topic,9579.0.html
Title: Re: Running external *.exe
Post by: bartwell on April 06, 2011, 04:42:54 PM
SilentPliz, thank's! Now it works fine.