Hardware manual

Impact Reference Guide Access a text file containing a list of command line options
6-23 Datalogic Automation Inc.
When this option is used, the Impact Device driver programs (IMPACTDevice.exe) do not display the Exit
button. The program cannot be closed from the program window. To close the program you must use the
Windows Task Manager.
The switch is case sensitive and must NOT be preceded by a hyphen or dash.
noExit
To edit the program command file
1. Find the command file in the program’s installation folder. The default installation location is:
C:\Datalogic\IMPACT\Applications\Device\IMPACTDevice.cmd
2. Open the file IMPACTDevice.cmd with a text editor.
3. In this file, locate this line:
start /MIN ...\IMPACTDevice.exe
4. At the end of that line, add a space followed by the word “noExit” (case sensitive and NO hyphen).
When you are done, the line should look like this:
start /MIN ...\IMPACTDevice.exe noExit
5. When you have finished editing the command file, save and close the file.
6. The next time any of the device drivers start, the Exit button will not be displayed.
Access a text file containing a list of command line options
This option specifies that the program should read a text file that contains a list of command line options to
use. The file should only contain valid program options, all other text is ignored. Do not include the actual
command line in the file, just the option. IMPORTANT: File names are case sensitive.
Add the following option to the command line:
-optionfile "text folder\text file name.txt"
where the folder "text folder" contains "file name.txt."
NOTE: The file path and name must be enclosed in quotes and include the file extension. The path and file
name are case sensitive. There is a space between the option and the first quotation mark.
The options are easier to read if you list only one option per line in the text file. For example:
-noexit -d
-language fr
-logo "C:\Images\logo.png"
Here are example command lines that access the text file "options.txt" in the folder named "C:\text folder"
(the option is in bold):
CPM
"C:\Datalogic\IMPACT\Applications\jre\bin\javaw.exe" -XX:+UseParallelGC
-Xmx400m -Xms64m -Xrs -jar "C:\Datalogic\IMPACT\Applications\CPM\CPM.jar"
-optionfile "C:\text folder\options.txt"