Open File (12d App)

Download is available until [expire_date]
  • Version 1.0
  • Download 75
  • File Size 5.36 KB
  • File Count 1
  • Create Date October 28, 2019
  • Last Updated July 17, 2021

Open File (12d App)

Compiled 12d Model app to execute a given program with optional command-line arguments or open a file with its associated program.

This macro has no graphical user interface and should be run with command-line arguments.  Refer to the 12d Model help for details on running macros.
open_file.4do  "" "C:/Path/to/some dir/My File.txt"
open_file.4do "C:/Windows/notepad.exe" "C:/Path/to/some dir/My File.txt"
Enclose the arguments in quotes if they contain spaces. Standard Windows escaping and paths apply.

The following two tabs change content below.
Matthew is a Civil Engineer with 20 yrs experience in the industry. He started work as a design consultant involved in numerour road, highway, drainage and land development projects. During that time, he became an integral part of the 12d development group, developing company standards, conventions, and customisations and providing support and training to users in offices around the world. After his design role, Matthew moved to head up the UK office of 12d Solutions, being responsible for the sales, support and training for all 12d Model users throughout Europe, the Middle East and Africa (EMEA). Since returning to Australia in 2015, he has setup his own business providing consulting services to the civil infrastructure industry. As part of this work, he has helped develop innovative and streamlined survey and data management processes on large construction projects, including Northconnex, Westconnex Stage 3A, Melbourne Metro and others.

Latest posts by Matthew Monk (see all)

3 thoughts on “Open File (12d App)

  1. Hi Matt,

    Handy macro. I am using quite a lot. But i have just tried to include into my usermenu to open a help file, with no luck.
    Should this be able to work in usermenu? if so, what is the correct format?


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.