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!
Nope, no way it can launch it. Well actually... There is a way, but it's fairly invlolved:
[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}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.
how about a CGI perlscript (generator) or something.
Systems admins would love it!
While this works great (Thanks by the way)
Some notes here, just in case there was any confusion for anyone that may come across this in the future.
1) Make a folder for the .bat and or other files related to it inside your "PortableApps" folder, place the files in that folder.
2) Make a folder named "App" in that folder.
3) In the "App" folder you just made, make an "appinfo" folder.
4) Create a new Notepad file in the "appinfo" folder and paste the given code into it, replacing the braced "{ }" entries with your .Bat info (Get rid of the braces completely, don't just put your info between them), and rename the file "appinfo.ini" (make sure you have file name extensions enabled under your folders "View" settings.
5) Either restart the PortableApps program completely, or just refresh the app icons.
6) Profit!