I saw this code somewhere
[Launch]
CommandLineArguments=-appdatapath"%PAL:DataDir%"
So does the program assume Pal:DataDir to be applicationdata of the computer..
New: Run-Command (Dec 2, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads Nov/Dec!, Please donate today
%PAL:DataDir% is the AppnamePortable/Data/.
Its the data folder inside the main app folder.
PAL stands for PortableApps.com Launcher.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Correct me here..
for example let me take opera browser.. It writes its settings to %appdata%.. So when creating a launcher of t app,i put the mentioned above code.. So now does opera write settings to %PAL:DataDir% instead of %appdata% when t launcher is executed????
There is no substitute for experience...
Opera has a configuration option to write to a specific directory. Some apps do not. Those that do sometimes it is a config file (Opera), sometimes a commandline switch (VLC), sometimes an environment variable (FileZilla).
Sometimes, the impossible can become possible, if you're awesome!
Thats what opera does because it has , as John already said, a commandline switch to change the folder it puts its configuration files in.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Pls tel me about the other two.config and environmental variables... How do i find out if they are this type or other.. Using regshot or something else..
There is no substitute for experience...
You need to read the docs for the app, the FAQs for the app or the code for the app itself. Or ask the original app developers/publishers. You can't figure it out through use, regshot, etc.
Sometimes, the impossible can become possible, if you're awesome!
Now i understood a bit.. So if an app uses its settings from a config file use config/Commandline..
There is no substitute for experience...