Page 1 of 1

List the executables from defined folder in new menu

Posted: 08 Jan 2007 17:21
by Tamil
Scan and list the executables in defined folder in a new Applications menu next to Window menu. When I use thumb drive, no need to use another application to list the executables or batch file to run an application.

Re: List the executables from defined folder in new menu

Posted: 08 Jan 2007 17:25
by admin
Hmm, not a bad idea... :)

Posted: 08 Jan 2007 22:20
by jacky
hmm... well actually, instead of adding another feature/menu somewhere I think we could simply extend the actual Catalog with the same thing (consistency ;)) that exists for File Associations, meaning we could use "file:///?:\path\app.exe" where the ? would be internally replaced by the letter of the drive XY is running from!

Might look weird, but for "full-consistency" maybe also add the relative path syntax, eg: "file:///..\Viewers\PicReader.exe"

Posted: 09 Jan 2007 08:18
by admin
jacky wrote:hmm... well actually, instead of adding another feature/menu somewhere I think we could simply extend the actual Catalog with the same thing (consistency ;)) that exists for File Associations, meaning we could use "file:///?:\path\app.exe" where the ? would be internally replaced by the letter of the drive XY is running from!

Might look weird, but for "full-consistency" maybe also add the relative path syntax, eg: "file:///..\Viewers\PicReader.exe"
Ah, I see, yes, good idea. Remind me later... :wink: (also that I add a "Run" checkbox to cat item props to avoid the need for this weird file:/// prefix...).

I misunderstood "defined" in the original posting. I thought he meant a variable menu that always lists the EXE files of the *current* folder. Well, thinking again I see this is not so fascinating (how many folders do have EXE files in them?...) :roll:

Posted: 09 Jan 2007 17:55
by jacky
admin wrote:I misunderstood "defined" in the original posting. I thought he meant a variable menu that always lists the EXE files of the *current* folder. Well, thinking again I see this is not so fascinating (how many folders do have EXE files in them?...) :roll:
oh, well for this you could also just use a VF, and even have a Catalog item to activate it ;) (I do use some actually, just not for EXEs)

Posted: 09 Jan 2007 20:05
by admin
jacky wrote:
admin wrote:I misunderstood "defined" in the original posting. I thought he meant a variable menu that always lists the EXE files of the *current* folder. Well, thinking again I see this is not so fascinating (how many folders do have EXE files in them?...) :roll:
oh, well for this you could also just use a VF, and even have a Catalog item to activate it ;) (I do use some actually, just not for EXEs)
Thanks for the tip. :wink: