Page 1 of 1

Command-Line Arguments

Posted: 24.06.2009, 19:51
by ricovox
I have not found ANY information about the command-line parameters (aka command-line arguments) in the help file document or here on the Forum.
So I decided to make this post to help anyone out who is looking for it.

(I appologize in advance if this already exists on the forum. I could not find it by searching for command-line parameters/arguments)

**THIS LIST MAY BE INCOMPLETE***
This is an unofficial list that I have obtained by looking though the version history. PLEASE, if someone can point me to a better, complete list, I would appreciate it very much.

Here's what I have found:
  • * /NewIni= Starts FC with a different INI file instead of freecommander.ini. A new file will always be created. If defined file exists, it will be deleted first.

    * /Ini= Starts FC with a different INI file instead of freecommander.ini. A new file will be created if the defined file does not exist.

    * /NoPlugins Starts FC with disabled plugins

    * /Lng= Starts FC with a different language file instead of that defined in config file

    * /N Starts FC as new instance in any case

    */C Starts FC and passes the command line parameters to the already running instance

    * /Z For usage with /C parameter - interprets the passed paths as source/target instead of left/right.

    /L="path" Open in folder 1 (left pane)
    /R="path" Open in folder 2 (right pane)

    /i=name.ini OR /i=CSIDL_APPDATA (not sure what this is. probably to specify an ini file. is it the same as /ini ? I don't know!)
(same as above, but apparently you can use - or / )
  • -L=Folder1
    -R=Folder2
    -i=name.ini

Add Tab for new Folder on Launch

Posted: 24.06.2009, 19:55
by ricovox
I would REALLY REALLY like the following functionality, but I cannot seem to find it.

When I launch FC from the command line and specify a folder to open, I would like it to:

1) Create a new TAB for the folder if the folder is not already open in FC
2) Activate the TAB for the folder if it is ALREADY open in FC

Right now I cannot seem to get this to work. I can either open a new instance of FC with /N or I can open the folder in the existing instance with /C, but when I do that, the new folder REPLACES the one that is currently open in whichever pane I specify. I want to add a NEW tab, NOT replace the existing one.

Is this possible? What should the command-line look like?
THANKS for any help you can provide.!!

Re: Command-Line Arguments

Posted: 24.06.2009, 20:10
by ralfso
ricovox wrote:I have not found ANY information about the command-line parameters
This parameters are listed in freecommander FAQ: http://www.freecommander.com/fc_faq_en.htm

But it's good to find it now here in the FC-forum.

Re: Command-Line Arguments

Posted: 09.02.2011, 20:21
by ace105
It is good to know this! ifound from google search this page

but I use layouts to save tabs and panes and tree et. al. Can layout be caused from arguments??

Re: Command-Line Arguments

Posted: 10.02.2011, 14:55
by BGM
Hello! Well, I don't know about commandline arguments, but I successfully augment my FC using powerpro. I can do just about anything with FC using powerpro, and have written a special powerpro script full of functions. If you are interested, I can direct you.

Re: Command-Line Arguments

Posted: 10.03.2011, 10:28
by catweazle9
+1 for the feature request by ricovox above for a new option to open a folder (from cmd line) in a new tab.
I was just trying to do this today - it would be very useful.

John.

Re: Command-Line Arguments

Posted: 30.07.2011, 22:16
by MilesAhead
ace105 wrote:It is good to know this! ifound from google search this page

but I use layouts to save tabs and panes and tree et. al. Can layout be caused from arguments??
I also use layouts. At the moment I'm using an AutoIt3 program to launch FreeCommander, wait for it to open, then send the Alt-1 key to use the top layout in the list. It would be nice if there was a command line switch such as /Layout=n

Then I'd only have to make a shortcut with the switch. :)