You are here

CommandLineArguments

11 posts / 0 new
Last post
Gaber
Offline
Last seen: 4 years 4 months ago
Joined: 2017-07-16 15:33
CommandLineArguments

Hi,

I have read the instruction, but there is a thing I can't understand...
I'm trying to readdress the folder C:\ProgramData to MyApp/ProgramData.

CommandLineArguments=--ProgramData-directory=%PAL:DataDir%\ProgramData

Is CommandLineArguments the right command?
How can I call C:\ProgramData?

Thanks.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 5 days 12 min ago
DeveloperModerator
Joined: 2008-07-24 18:46
application-dependent

The commandlinearguments function passes arguments recognized by the application - so, if the application you're working with recognizes the command line argument "--ProgramData-directory", you can use it as above.

[EDIT] Furthermore, it is a very bad idea to redirect that entire folder, as it will potentially cause other programs to not find data that they are expecting to find in that folder.

Gaber
Offline
Last seen: 4 years 4 months ago
Joined: 2017-07-16 15:33
Thanks for the answer, sorry

Thanks for the answer, sorry if I don't understand.
I'm not english, and my language is so poor...

My problem is in syntax:

What have I to write to make the line working?

CommandLineArguments=--C:\ProgramData=%PAL:DataDir%\Setting\ProgramData
or
CommandLineArguments=--ProgramData=%PAL:DataDir%\Setting\ProgramData
or other syntax?

WHAT IS THE RIGHT FORM?

About:
"[EDIT] Furthermore, it is a very bad idea to redirect that entire folder, as it will potentially cause other programs to not find data that they are expecting to find in that folder".
When I redirect a folder, I redirect it ONLY for the application I'm portabilizing or is it at SYSTEM LEVEL (all the applications are redirect)?

Is there a way to force only one application to use the redirection?

Gaber
Offline
Last seen: 4 years 4 months ago
Joined: 2017-07-16 15:33
Oooh, oooh...

Oooh, oooh...
Is there anybody in there?

Do you remember I'm still waiting for an answer to my last massage?

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 4 hours 9 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
Please have some patience

Most of us are volunteers, we are not paid anything to be here, we are just helping in our own free time.

We can't always check the forums every day and can't always answer so quickly.

Gaber
Offline
Last seen: 4 years 4 months ago
Joined: 2017-07-16 15:33
I understand perfectly...

I understand perfectly...
And I always thank who help me.

Many months ago I had the same problem, and, after many massages, the result was 0 (zero).
https://portableapps.com/node/60556
What I ask is ONLY ONE LINE of code in example because I don't understand how to use it!!!

Require more time explain the rules of forum and its user behaviour than write it...

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 5 days 12 min ago
DeveloperModerator
Joined: 2008-07-24 18:46
Needs to be supported

As mentioned both in that previous thread and above, the application needs to have support for the action you want.
It might be easier to help if you told us what the application is so that we can investigate it and find a solution for you.

Gaber
Offline
Last seen: 4 years 4 months ago
Joined: 2017-07-16 15:33
THANKS

THANKS Smile

My goal is to portabilize Total Uninstall Essential..
It store all his chronology in a folder placed in ProgramData\Martau.
And it grow in time, to reach GB.

(I know you deprecate the portabilization of program without open source license, but I have to move this program through some computer and every time I have to copy manually).

In this way I could create a launcher that move this folder in the USB and works with this folder instead of the original...

How can I do it???

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 5 days 12 min ago
DeveloperModerator
Joined: 2008-07-24 18:46
built-in?

According to the (admittedly minimal) documentation for the application, it has a portable mode already that doesn't appear to require redirecting ProgramData. Have you tried that already?

Gaber
Offline
Last seen: 4 years 4 months ago
Joined: 2017-07-16 15:33
This is for the pro (payment)

This is for the pro (payment) version.
The basic version is... basic!!!

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 5 days 12 min ago
DeveloperModerator
Joined: 2008-07-24 18:46
Publisher requirements

Although the publisher does not provide that functionality with all of their licenses, they do have the functionality available. As such, I an unable to assist you with circumventing the restrictions in place by the publisher. Sorry.

Log in or register to post comments