Product icon Help book icon Net Comms : User's Guide

Program Start-Up by Batch File

Overview

You can start the program by a Windows batch file (.Bat file extension). You can run it by double clicking on the Bat file in Windows Explorer or by adding the file to your Windows Startup folder which will make it run automatically when you boot the computer. The batch file can be placed in any convenient folder.

Passing Parameters

You can pass the following parameters to the program via the batch file.


Parameters:
  1. No Parameters - If no Parameters are passed, it will simply start the program and open the most recently used Cuelist. (Syntax Option #1 below)
  2. Cuelist Name - the program will start using the specified Cuelist Name (if found). Enclose the Cuelist Name in double quotes. The Cuelist must have been previously imported into NetComms. Useful for Kiosk applications. (Syntax Option #2 below)
  3. Test Mode - If the program does not start and you do not receive and error message, you can try starting it in Test Mode which will sometimes trap the error and present it in a message box. You can then take a screen shot of the message box (Ctrl + Print Screen) and paste it into an email to Support for determination. (Syntax Option #3 below)

Syntax

Create a batch file with any name and with a .bat file extension. The contents of the file will be in the format of one of the Valid Options below.


Valid Options
  1. NetComms.exe
  2. NetComms.exe "Cuelist Name"
  3. NetComms.exe TESTMODE

Batch File Samples

There are two sample batch files in the folder where the program was installed: 1) Run-in-TESTMODE.bat 2) Run-With-CuelistName.bat
Editing files in the program install folder is not recommended. Copy them to a work folder if you want to edit them. After copying the bat file, add the full folder path to the exe file name. Enclose the file path in double quotes (required when there are spaces in the path string).
Example: "C:\Program Files (x86)\Breakthru Software\NetComms\NetComms.exe" "Cuelist Name" ).