You are here

Freemind launcher

2 posts / 0 new
Last post
ozbodd
Offline
Last seen: 15 years 11 months ago
Joined: 2007-02-22 15:12
Freemind launcher

Following on post https://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?

woy_taz
Offline
Last seen: 17 years 3 months ago
Joined: 2007-08-02 04:09
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

Log in or register to post comments