You are here

Adding batch file to portable apps menu?

3 posts / 0 new
Last post
rwttaber
Offline
Last seen: 14 years 11 months ago
Joined: 2009-07-14 18:57
Adding batch file to portable apps menu?

Is there a way to show a batch file in the portable apps menu? I am using platform 2 beta 3.

Does it only pick up .exe?

I was thinking of writing a program in C++ to open it but that seems like it would be a lot of work if the platform could be configured to show it.

Thanks!

digitxp
digitxp's picture
Offline
Last seen: 13 years 3 months ago
Joined: 2007-11-03 18:33
EXE

Nope, no way it can launch it. Well actually... There is a way, but it's fairly invlolved:

  1. Make an App folder, and an appinfo folder inside.
  2. Make an appinfo.ini file.
  3. Put this into the file, replacing the stuff in braces:
    [Details]
    Name={Name}
    AppId={Namew/ospaces}
    Publisher=
    Homepage=
    Category=
    Description=
    Language=Multilingual
    Trademarks=
    InstallType=
    
    [License]
    Shareable=true
    OpenSource=true
    Freeware=true
    CommercialUse=true
    
    [Version]
    PackageVersion=0.0.0.0
    DisplayVersion=0.0
    
    [SpecialPaths]
    Plugins=NONE
    
    [Control]
    Icons=1
    Start={BatchFileinthemainfolder}
    ExtractIcon={IconFile}
    
  4. Restart the menu.

Or do it the easy way: compile your batch files, or better yet, switch to AutoHotKey (which has some pretty neat functions, including GUI and keyboard hooks).
Good luck!

Insert original signature here with Greasemonkey Script.

muswell
Offline
Last seen: 15 years 2 weeks ago
Joined: 2009-10-25 06:58
how about a CGI perlscript

how about a CGI perlscript (generator) or something.

Systems admins would love it!

Log in or register to post comments