KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Starting 4D via a batch file
PRODUCT: 4D | VERSION: 13.3 | PLATFORM: Win
Published On: February 8, 2013

Using batch files can be a time saver for automating tasks. One time saving task that some people use batch files for is to start a copy of 4D.

When using batch files to start 4D, it is often sought after to make sure that the DOS window is closed after 4D is running. The following is a quick example of how to accomplish this task:

START /D "C:\Program Files (x86)\4D\4D v13.2 (Custom)\4D\" 4D.exe


A path can to a stucture can be specified as well:
START /D "C:\Program Files (x86)\4D\4D v13.2 (Custom)\4D\" 4D.exe "C:\Path\To\MyDatabase.4dbase\myStructure.4db"


Or one could specify a 4DLink file like this:
START /D "C:\Program Files (x86)\4D\4D v13.2 (Custom)\4D\" 4D.exe "C:\Path\To\MyDatabase.4DLink"

See Also: