- Version 1.0
- Download 61
- 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.