Re: Locating specific code question
"Dean Searle" <[email protected]> Mon, 8 Oct 2007 10:48:35 -0400
| Newsgroups | gmane.comp.java.tn5250j.devel |
|---|---|
| Message-ID | <C285310265438141BFBB042EE63358D2013EA7@bigshot.ComputingOasis.main> |
Hello Davide, Ok, here is what I have so far. It works but its not separating the files into a separate folder. I'm sure that I am too concerned about it, but it would be nice if it would produce the files in the "profile" folder. Code as follows: tn5250j.bat =========== @echo off @rem ====================================== @rem DOS Batch file to invoke the emulator @rem ====================================== :SET EMUL_PATH=..\tn5250j :java -jar "%EMUL_PATH%\lib\tn5250j.jar" set path=%path%;%~d0\PortableApps\Java\jdk1.5.0_10\bin java -Duser.home="%~d0\PortableApps\tn5250j\profile" -jar "..\lib\tn5250j.jar" @echo on =========== End Code here are the files that it is creating: .tn5250jkeymap .tn5250jTN5250JDefaults.props .tn5250jsessions these files are being created in the bin folder. Thanks for your help Cheers, -Dean -----Original Message----- From: [email protected] on behalf of Davide Grandi Sent: Fri 10/5/2007 13:09 To: [email protected] Subject: Re: [Tn5250j-develop] Locating specific code question Dean Searle ha scritto: > Hello all, > > I have recently discovered your absolutely fabulous software. I am in > the process of trying to run your program on my thumb drive. The only > problem I am having is trying to keep the config files from being > created on the hard drive. Would anyone be able to point me to where the > code is located that tells tn5250j to create the config files in the > users profile on the hard drive. I want the config files to be created > in the same directory tree that tn5250j is installed. > > Thank you very much in advance for your help. > > Cheers, > > -Dean Adding the clause (between "java" and "-jar", i think ...) -Duser.home="C:\Host2Open\ ... " to the launch script, should let you put the ".tn5250j" preference folder wherever you want. Best regards, Davide -- Ing. Davide Grandi [email protected] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Tn5250j-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tn5250j-develop ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Tn5250j-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tn5250j-develop
winmail.dat
(application/ms-tnef, 4 KB) - not displayed