You are here

Command Line Switch for Tunnelier Portable

11 posts / 0 new
Last post
OldManLee
Offline
Last seen: 13 years 3 weeks ago
Joined: 2008-05-31 03:22
Command Line Switch for Tunnelier Portable

I'm trying to get my Tunnelier to launch using the -loginOnStartup switch.

Whilst running the .exe using the RUN menu with the switch works, it doesn't quite work when I use the PortableApps Menu Launcher as I'm not sure how to pass the swtich to the software.

I've tried searching in the forums and found some clues to creating a TunnelierPortable.ini and placing it within the TunnelierPortable.exe folder with a setting inside "AdditionalSettings=-loginOnStartup" as well as "AdditionalParameters=-loginOnStartup" but both doesn't work.

I'm using TunnelierPortable v4.35 at http://tp.vbap.com.au/download

Thanks!

OldManLee
Offline
Last seen: 13 years 3 weeks ago
Joined: 2008-05-31 03:22
Is anyone able to help with

Is anyone able to help with this?

Jimbo
Offline
Last seen: 3 years 8 months ago
Joined: 2007-12-17 05:43
Have you tried

going to the place that you got the app from?

If it isn't one from here, then you're not very likely to find people here who know anything about it, I'm afraid.

J Neutron
Offline
Last seen: 1 week 4 days ago
Joined: 2008-06-10 19:26
Not ours?

I'm not sure what you expect people here to do?

This program and the portable version of it are not produced here.

Following your link, I did find a support feature of the author's web site. Perhaps that might be of more help to you?

http://tp.vbap.com.au/support

neutron1132 (at) usa (dot) com

OldManLee
Offline
Last seen: 13 years 3 weeks ago
Joined: 2008-05-31 03:22
I had thought that the

I had thought that the passing of command line parameters is something that every portableapp application can do (especially since I found some clues to this in the forum but nothing conclusive) and hence I asked the question here.

Unless you are telling me that all portableapps on this site launched via the portable start menu are not able to take command line parameters at all.

Jimbo
Offline
Last seen: 3 years 8 months ago
Joined: 2007-12-17 05:43
No, we're telling you

that the command line parameters are specified within the app, not the PortableApps.com Platform (that is, the menu).

Support for adding parameters from an ini file is a function of the specific launcher for the app in question, which is part of the app, not the menu.

For one of the apps from here, we could tell you where the ini file was, and what entry to add to that file to pass command line parameters to the app. However, since this isn't one of our apps, we have no idea, so you should go to the people who wrote the portable app that you are having difficulty with, and ask them, since they will hopefully be able to help you.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 3 weeks ago
Developer
Joined: 2009-08-11 11:24
I'm not familiar with

I'm not familiar with Tunnelier, but I just downloaded it and saw it's in PortableApps Format. All of our apps have a file called AppNamePortable.ini in Other\Source, and it looks like Tunnelier does too.
Copy Other\Source\TunnelierPortable.ini to the installation folder (the same folder as TunnelierPortable.exe). Open the new copy of TunnelierPortable.ini in your text editor and edit the AdditionalParameters line; don't delete the other lines. Restart Tunnelier and it may work as expected (as I said, I'm not familiar with Tunnelier so I don't know for sure).

I'm aware you already tried something similar to this. However, I know some portable apps don't like it if parts of the AppNamePortable.ini file are missing, which could be part of the problem. Once the complete TunnelierPortable.ini file is present, Tunnelier may work as expected for you.

Good luck!

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

OldManLee
Offline
Last seen: 13 years 3 weeks ago
Joined: 2008-05-31 03:22
Dear Computerfreaker, Thanks

Dear Computerfreaker,

Thanks so much for your patience and detailed explanation on how things work.

You are correct that Tunnelier Portable is in the PAF format, which was why I asked how command parameters are passed to the program (it was more of general application on how command parameters are passed to any PAF program) and had included the name of the specific application just in case that made a difference.

Unlike others who switch off and tell others off once they think the subject matter is out of the scope of the PAF platform, you are far more discerning and actually bothered to try explaining things (not jumping the gun as they would say)

Based on your input, I finally managed to get things working (as your input helped me to quickly narrow down what the problem was; unlike the first time where I didn't even know if what I was trying was correct (which ini file, whether its called AdditionalSettings or AdditionalParameters).

Thanks so much for taking the time to help me out on this.

computerfreaker
computerfreaker's picture
Offline
Last seen: 12 years 3 weeks ago
Developer
Joined: 2009-08-11 11:24
I'm glad you got it working!

I'm glad you got it working! Smile

If you have any other questions/problems, feel free to ask. We'll be happy to help you out!

computerfreaker

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

HarryChiling
Offline
Last seen: 12 years 11 months ago
Joined: 2010-10-12 13:02
An alternative method is to

An alternative method is to add the swicth to a batch file and then make your portabel app start the batch file. If you have multiple switches you use then you can set up multiple batch files and start different ones with different switchs through the AppInfo.ini under the control heading. You could alos create seperate start and name settings under the control heading to add aditional menu items for the program, you can go further with additional icons to differentiate the different swicths as well.

andreaa
Offline
Last seen: 8 months 1 day ago
Joined: 2013-08-17 06:43
Command Line Parameter Switch

Hi,

I'd like to start WinSCPportable using the portableapps platform link with specific storage settings based on a different portable volume.
Target: I'd like to pass a parameter to WinSCPportable at launch from the portableapps platform
Rationale: I need to store the information on connections (host, user, keys, ports..) in a different location from the application.

As stated above the portableapps platform is supporting the parameters in the INI file so I've followed the steps indicated by "computerfreaker" but without success.

Would you kindly help me to achieve the target (pass a parameter to WinSCPportable at launch from the portableapps platform) ?

As additional information:
As workaround: I've created a new shortcut with the desired parameter at command line
Launching the shortcut, WinSCP executes with the parameter correctly parsed and WinSCPPortable visualize the information from the selected storage location.
Unfortunately with this workaround I don't use the portableapps platform which I'd like to continue to use.

Steps followed:
1- copy Other\Source\WinSCPPortable.ini to the installation folder (the same folder as WinSCPPortable.exe)
2- open the WinSCPPortable.ini (copied at point1) in text editor
3- edit the AdditionalParameters line as follow:
AdditionalParameters=/ini="T:\winscp.ini"
4- Save file
5- Restart WinSCPPortable
Unfortunately the parameter is not parsed correctly

Is the syntax adopted in the line "AdditionalParameters" at point 3 correct?

AdditionalParameters=/ini=T:\winscp.ini
AdditionalParameters="/ini=T:\winscp.ini"
AdditionalParameters="/ini=T:/winscp.ini"
AdditionalParameters="/ini=T://winscp.ini"
AdditionalParameters=/ini=T://winscp.ini
AdditionalParameters=/ini=T:\winscp.ini
AdditionalParameters=/ini=T:\\winscp.ini

If I change parameter (i.e. "/help") it works showing correctly the help message so it means the file is parsed but it seems there is problem in understandng the "/ini" syntax used?

I hope to have provided detailed information and please let me know if you require any additional information,
Appreciate your help,
Thanks a lot in advance,
kind regards,
Andrea

Log in or register to post comments