You are here

Parameter Help

16 posts / 0 new
Last post
David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 12 months ago
Developer
Joined: 2007-06-11 22:54
Parameter Help

how do you know what parameter an app uses to store files in the application data folder? EX: APPNAME.exe -PARAMETER

No i dont have the apps source cause its freeware Blum

Tim Clark
Tim Clark's picture
Offline
Last seen: 13 years 10 months ago
Joined: 2006-06-18 13:55
David, Welcome to

David,
Welcome to PortableApps.com Smile

It would help to know what the app is so someone could still try to investigate.

Why are you so sure it uses any parameter at all?
Maybe it doesn't use parameters.

Again, knowing what the app is might help,
and again, Welcome to PortableApps.

Tim

Things have got to get better, they can't get worse, or can they?

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 12 months ago
Developer
Joined: 2007-06-11 22:54
.

haha im dbdii407 Wink

Na na na, come on!

Tim Clark
Tim Clark's picture
Offline
Last seen: 13 years 10 months ago
Joined: 2006-06-18 13:55
Ohhh

Sorry Sad

I didn't know it was you Blum
When did you change?

I usually browse from home with images turned off so I did not see your Avatar/Icon and in a New Topic/Initial Post your signature doesn't show Sad

Well, Welcome to your new identity

Are you David the second (JR) and your son is the third "III",
or are you the second David Dixon in the group Blum

Tim

Things have got to get better, they can't get worse, or can they?

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 12 months ago
Developer
Joined: 2007-06-11 22:54
.

I changed about a week ago...
I asked John in the IRC Chat Blum

My Dad Is Sr. Give Ya Any Clues Wink Pardon

Na na na, come on!

Tim Clark
Tim Clark's picture
Offline
Last seen: 13 years 10 months ago
Joined: 2006-06-18 13:55
Ohhhh

I thought a "II" was a "JR" until there was a "III" then, Senior became "I", "Jr" became "II" and Juniors' kid became "III".

I'm so confused,
you need to have a kid soon so it all makes sense Blum

Tim

Things have got to get better, they can't get worse, or can they?

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 12 months ago
Developer
Joined: 2007-06-11 22:54
.

Well i'm suppose to be jr. but my parents skipped that part

Sr --> Jr --> II

Na na na, come on!

Tim Clark
Tim Clark's picture
Offline
Last seen: 13 years 10 months ago
Joined: 2006-06-18 13:55
Ohhhhh

Now if only we could get you to trim you sig file Blum

Tim

Things have got to get better, they can't get worse, or can they?

Nathan9222
Nathan9222's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2007-12-06 22:35
usually you

usually you just experiment with things,
such as if you write a NSIS script somewhere in there before the app launches you would put....

System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("APPDATA", "$SETTINGSDIRECTORY").r0'

and you would just change the "APPDATA" to something such as USERPROFILE or ALLUSERPROFILE it is usually harder to know the exact environment variable with freeware apps and easier for open source, because you can just go through the source.

An eye for an eye makes the whole world blind.
Mahatma Gandhi,
Indian political and spiritual leader (1869 - 1948)

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 12 months ago
Developer
Joined: 2007-06-11 22:54
.

U and USERPROFILE just made my day! it worked! your awsome!

Na na na, come on!

digitxp
digitxp's picture
Offline
Last seen: 13 years 4 months ago
Joined: 2007-11-03 18:33
Yes, but that

messes up other apps.

Insert original signature here with Greasemonkey Script.

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 12 months ago
Developer
Joined: 2007-06-11 22:54
.

No this doesn't. all my portableapps and apps still save their data in there correct folders.

Na na na, come on!

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 1 month ago
Developer
Joined: 2006-12-06 18:07
no, it doesnt, it only sets

no, it doesnt, it only sets the environment variable for the current app.

The developer formerly known as ZGitRDun8705

digitxp
digitxp's picture
Offline
Last seen: 13 years 4 months ago
Joined: 2007-11-03 18:33
How?

It's setting an env var, that would globally change it.
I don't get how it works Pardon

Insert original signature here with Greasemonkey Script.

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 1 month ago
Developer
Joined: 2006-12-06 18:07
It tells the current

It tells the current application to use the new value as the environment variable, it does not actually modify the variable

The developer formerly known as ZGitRDun8705

Nathan9222
Nathan9222's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2007-12-06 22:35
Just so...

Just so you know, if you go to start-->run and type %ALLUSERPROFILE% it takes you to the alluserprofile and if your app stores data in there, then you would substitute this one for "APPDATA"

An eye for an eye makes the whole world blind.
Mahatma Gandhi,
Indian political and spiritual leader (1869 - 1948)

Log in or register to post comments