Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?
|
Freemind launcher
ozbodd - April 27, 2007 - 6:53am
Following on post http://portableapps.com/node/1141#comment-6250
here is the batch file to launch FreeMind using the commonfiles/java structure
********************************************
@echo off
..\CommonFiles\Java\bin\java -cp lib\freemind.jar;lib\ant\lib\jaxb-api.jar;lib\ant\lib\jaxb-impl.jar;lib\ant\lib\jaxb-libs.jar;lib\ant\lib\namespace.jar;lib\ant\lib\relaxngDatatype.jar;lib\ant\lib\xsdlib.jar;lib\ant\lib\jax-qname.jar;lib\ant\lib\sax.jar;lib\ant\lib\dom.jar freemind.main.FreeMind
*********************************************
just shows a DOS window while running. If I try hiding it with cmdow Norton flags it as a trojan ...?
I am sure someone here can code that better?
|
This is my batch file.
This is my batch file. Look at the first parameter passed to java.exe. It makes Freemind to store setting in its Data subfolder instead in "Documents and settings" so all stuff is on the USB flash.
@echo off
..\cmdow @ /hid
..\jre\bin\java -Duser.home=.\Data -cp lib\freemind.jar;lib\ant\lib\jaxb-api.jar;lib\ant\lib\jaxb-impl.jar;lib\ant\lib\jaxb-libs.jar;lib\ant\lib\namespace.jar;lib\ant\lib\relaxngDatatype.jar;lib\ant\lib\xsdlib.jar;lib\ant\lib\jax-qname.jar;lib\ant\lib\sax.jar;lib\ant\lib\dom.jar freemind.main.FreeMind > out.txt 2> err.txt
..\cmdow @ /vis