Need Help with redirecting 1 file

Discuss anything related to JauntePE, the utlimate utility to help you tame non-portable applications. Share your experience about the apps that work with JauntePE, and the apps that don't.
Message
Author
crownixx
Posts: 403
Joined: Sat May 12, 2007 6:26 am

#16 Post 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

User avatar
joby_toss
Posts: 2973
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

#17 Post 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!

crownixx
Posts: 403
Joined: Sat May 12, 2007 6:26 am

#18 Post 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?

User avatar
joby_toss
Posts: 2973
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

#19 Post 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! :)

Post Reply