Run TUFLOW Right-Click Windows XP

From Tuflow
Jump to navigation Jump to search

    Introduction

    This page describes the process to setup Windows XP to allow you to right click on a .tcf file in Windows Explorer and allow a TUFLOW simulation to be started.

    The method described in the Windows 7 uses a free utility called FileMenu Tools which is also compatible with Windows XP. The FileMenu Tools method is probably more powerful and customisable than this one, however this method does not require any additional software.

    1. Open Windows Exlorer and open the Folder Options dialogue box by selecting Tools >> Folder Options
    2. Go to the ‘File Types’ tab and click the ‘New’ button. Type in ‘TCF’ and click ‘OK’. Refer to the dialogue below.
    3. Tute M01 Windows XP FolderOptions.png The TCF file is being associated with the TUFLOW engine (TUFLOW.exe), and with the text editor. This way, when we double click on a TCF file in Windows Explorer, it opens in the text editor. However, if we right click on the TCF file, the option to run TUFLOW directly from Windows Explorer appears.
    4. Select the newly created TCF file type from the list and click ‘Advanced’ to open the Edit File Type dialogue box below.
    5. Tute M01 Windows XP EditFileType.png Create a new action to run TUFLOW as follows.
    6. Click on the ‘New…’ button to open the New Action dialogue box below.
    7. Tute M01 Windows XP NewAction.png
    8. Enter a description of the action, “Run TUFLOW”, into the ‘Action:’ text box.
    9. Enter the file path to TUFLOW.exe or use the ‘Browse…’ button to locate it. If the file path has spaces in it, the entire string should be enclosed in quotation marks. After the file path, leave a space, then enter “%1” including the quotation marks. This tells TUFLOW that the TCF file to run is the one selected in Windows Explorer.
    10. Click on ‘OK’.
    11. If you wish, repeat this process to associate TCF files with the text editor you are using.
    12. Click on ‘OK’ on the Folder Options dialog to return to Windows Explorer.

    Conclusion

    We’re now ready to run TUFLOW for the first time.