Page 2 of 2

Posted: Mon Feb 02, 2009 12:19 pm
by crownixx
joby_toss wrote: What should I use so the settings would always be saved in my JPE config folder no matter the drive name/letter ?

Code: Select all

[FilesystemInclude]
1=C:\myDiary
2=D:\myDiary
3=E:\myDiary
4=F:\myDiary
5=G:\myDiary
6=H:\myDiary
7=I:\myDiary
8=J:\myDiary
9=K:\myDiary
10=L:\myDiary
11=M:\myDiary
12=N:\myDiary
13=O:\myDiary
14=P:\myDiary
15=Q:\myDiary
16=R:\myDiary
17=S:\myDiary
18=T:\myDiary
19=U:\myDiary
20=V:\myDiary
21=W:\myDiary
22=X:\myDiary
23=Y:\myDiary
24=Z:\myDiary
Is that work for you? :mrgreen:

There is a token %launchdrive% might be suitable solution for this situation but currently it only support in [Launch]Path and [Launch]JPERuntime. Would be great if the tokens could be support in any of the configuration setting coz last time i had a needs to use %launchdrive% in the [Launch]Params

Posted: Mon Feb 02, 2009 12:39 pm
by joby_toss
God it was simple... %appdrive% is the answer. This is how:

Code: Select all

[FilesystemInclude] 
1=%appdrive%\myDiary
Your answer made me check once again the help file, but this time in the right place:

Code: Select all

Path	
Set to the path to the executable to be launched and/or injected, including filename and extension. The path's drive becomes the %appdrive% token, its directory becomes the %appdir% token, and its filename becomes the %appname% token.
Thank you!

Posted: Mon Feb 02, 2009 8:47 pm
by crownixx
Your answer made me check the readme too. I just notice about it
# %appdrive% is depend on the application path
# %launchdrive% is depend on the launcher or jauntePE.dll path

Better to have one section about tokens in the readme.html don't you think?
[FilesystemInclude]
1=%appdrive%\myDiary
Yes, that is the idea. Is that work for you?

Posted: Tue Feb 03, 2009 4:41 am
by joby_toss
crownixx wrote:Better to have one section about tokens in the readme.html don't you think?
Oh yeah!
crownixx wrote:
[FilesystemInclude]
1=%appdrive%\myDiary
Yes, that is the idea. Is that work for you?
It sure does! :)