Command Line Arguments

 

Fund Manager stores portfolios in files with the extension of 'mm4'.  Fund Manager stores investments in files with the extension 'dat'.  When starting Fund Manager you may provide a command line argument specifying either a portfolio (*.mm4) filename or investment (*.dat) filename to load with Fund Manager.  In addition, Fund Manager accepts optional /I and /Q switches.  The /I options tells Fund Manager to retrieve price quotes from the internet.  The /Q option tells Fund Manager to quit once it is done performing any actions specified on the command line.

 

Syntax:

FM.EXE [drive:][path][filename] [/I] [/Q]

 

Parameters

 

[drive:][path]

Specifies the drive and directory of the portfolio or investment file to open.

[filename]

Specifies a particular portfolio or investment file to open.

 

Switches

 

/I

Retrieve price quotes from the internet for opened investments.

/Q

Quit after performing any actions specified on the command line.

 

 

Examples:

 

To have Fund Manager open a portfolio "My Portfolio.mm4", have it update the prices, and then quit, you would use the command:

"C:\Program Files (x86)\Fund Manager\fm.exe" "C:\Users\John\Documents\Fund Manager\My Portfolio.mm4" /I /Q

To have Fund Manager open a portfolio "My Portfolio.mm4", have it update the prices, and then stay open, you would use the command:

"C:\Program Files (x86)\Fund Manager\fm.exe" "C:\Users\John\Documents\Fund Manager\My Portfolio.mm4" /I

To start Fund Manager with the portfolio "My Portfolio.mm4" you would use the command:

"C:\Program Files (x86)\Fund Manager\fm.exe" "C:\Users\John\Documents\Fund Manager\My Portfolio.mm4"

To start Fund Manager and have it open the investment "vent.dat" you would use the command:

"C:\Program Files (x86)\Fund Manager\fm.exe" "C:\Users\John\Documents\Fund Manager\vent.dat"

Double quotation marks around the program and data filenames are required when you have spaces in the path.

 

These examples assume Fund Manager was installed into the C:\Program Files (x86)\Fund Manager directory and your data is stored in the directory C:\Users\John\Documents\Fund Manager where you would replace John with your username.

 

Fund Manager does not require any command line arguments.  Any command line arguments are optional, and all operations can be performed from within Fund Manager.

 

Fund Manager supports drag and drop operations with *.dat or *.mm4 files. Also, Fund Manager supports associations with either *.dat or *.mm4 files.

 

When the /I and /Q switches are used together Fund Manager will terminate immediately after the retrieve is complete.  The /I switch suppresses any retrieve related informational or error notifications requiring user interaction.  If any other errors occur Fund Manager will display the error message for 5 minutes and then quit.  The /I and /Q switches are intended to help in performing unattended price updates.  They may be particularly helpful with batch programs, or the Windows Task Scheduler.

See Also

About Investments

Opening Investments

About Portfolios

Opening Portfolios

 


Fund Manager Home