Old right click run

From TUFLOW FV Wiki
Jump to: navigation, search

Right Mouse Button in Microsoft Explorer

To start a simulation in Microsoft Explorer by using the right mouse button, complete the following steps to set up a file association:

  • In Explorer, open the “View” (or “Tools”), “Folder Options…” menu and select the “File Types” tab. If . fvc files are not in the “Registered file types:” list box, choose “New Type…”, otherwise select the .fvc file entry under “Registered file types:” as shown in Step 3 below.
  • If adding a new type, enter in a description (eg. “TUFLOW FV Control File”) and “fvc” as the associated extension (see below) and press OK.

Runfv 004.png

  • The Folder Options dialog should appear something like the below.

Runfv 005.png

  • Click “Advanced” to bring up the dialog below (you can add a new icon and change the file type description here).

Runfv 006.png

  • Choose “New…” and enter text to describe the “Action:” (eg. “Run TUFLOW FV”) – this text appears on the pop-up menu when you click the right mouse button on an .fvc file in Explorer. Enter or use “Browse…” to specify the path to TUFLOWFV.exe; note the need for quotes if the path has any spaces. After “TUFLOWFV.exe”, add a space then “%1” including the quotes, as shown below. Choose “OK”. The “Application used to perform action:” field should be something like:
"C:\Program Files\TUFLOWFV\exe\win32\TUFLOWFV.exe" "%1"

Runfv 007.png

  • The action should now appear in the list under “Actions:”. It is not recommended that a “Run TUFLOW FV” action be set as the default action as it is easy to accidentally start a simulation, which instantly overwrites any existing result files. You may wish to set up other associations at this point, for example, to access your preferred editor.
  • Choose “OK” or “Close”, then “Close” on the “Folder Options” menu.
  • Check the file association, by clicking the right mouse button on an .fvc file in Windows Explorer. The “Run TUFLOW FV” action should appear in the list.

Once the file association is complete, clicking the right mouse button on an .fvc file in Explorer, and selecting “Run TUFLOW FV” starts a simulation. A Console Command Window opens and TUFLOW FV starts.