Kavremover Command Line Switches



This article describes the switches that available when you run the commands outside of Windows (in MS-DOS mode), and when you run the commands from an MS-DOS window. Syntax and switches in MS-DOS mode. The following command line includes the syntax and the switches that you can use with the xcopy and the xcopy32 commands in MS-DOS mode.

Kavremover Command Line Switches Leviton

Unless otherwise specified, all command line parameters require Automation edition or better. The /REGISTER command line option is available in all editions.

  1. Sep 11, 2020 The del command is a Command Prompt command used to delete files. Various command options are available so that you can remove files that have a certain file extension, delete every file in a folder, get rid of only the files with certain file attributes, and more.
  2. This article describes the switches that available when you run the commands outside of Windows (in MS-DOS mode), and when you run the commands from an MS-DOS window. Syntax and switches in MS-DOS mode. The following command line includes the syntax and the switches that you can use with the xcopy and the xcopy32 commands in MS-DOS mode.

You can automate what BarTender does using command line parameters. The syntax of a command line is:

Kavremover Command Line Switches Wiring

bartend.exe [parameters]

There is a space between the 'bartend.exe' and the first parameter and all parameters begin with a forward slash. See below for examples, and refer also to Rules For Specifying Command Line Parameters and Using Spaces in File Names.

Brackets in the command line examples in the help system indicate optional material that is not required in every use of the command or the parameter. Do not ever include the brackets themselves. For example, the brackets in the preceding command line indicate that you can run BarTender without any parameters at all, in which case it will start in its default state.

For more information, select the type of command line you desire below:

Examples of BarTender Command Lines

bartend.exe /F=c:Formatsship.btw /P

Loads and prints ship.btw.

bartend.exe /F='lib://test1.btw' /P

Command

Loads and prints test1.btw, which is stored in Librarian's repository.

bartend.exe /F=F1.btw /F=F2.btw /F=F3.btw

Loads the three specified documents.

bartend.exe /P

Prints all open BarTender documents.

Kavremover Command Line Switches

bartend.exe /IDOC='xyz.idoc' /P

Prints all BarTender documents using IDoc xyz.idoc.

Kavremover Command Line Switches

bartend.exe /AF=F2.btw

Makes F2.btw the active document.

bartend.exe /AF /P /C=2 /D='xyz.dat'

Prints two copies of the active document using text file xyz.dat.

bartend.exe /F=test.btw /P /LicenseServerAddress=MyServer /LicenseServerPort=5175

Opens the BarTender document test.btw. Connects to Seagull License server on MyServer, port 5175, and prints test.btw.

bartend.exe /MediaHandling='Action=Cut;Occurrence=AtEndOfPrintJob'

Sets the printer media handling settings to cut the label stock at the end of the print job.

Related Topics

There are five ready ways to uninstall software:

  1. Using the GUI – Right click on the START BUTTON > APPS AND FEATURES > click the app in question > UNINSTALL
  2. Using a build in uninstaller – Go to the folder where the product is installed, look for something like UNINSTALL.EXE then create a shortcut to it, edit the shortcut and add /? to the end. Double click the shortcut to see the uninstallation switches
  3. WMIC – ‘Windows Management Interface Command’ can be used for .EXE’s – see below
  4. MSIEXEC – ‘Microsoft Installer Executable’ can be used for programs that installed using a .MSI file
  5. PowerShell WMI Commands – The new way to uninstall!

We explore WMIC, MSIEXEC and POWERSHELL below:

Command Line to Uninstall a Program using WMIC

There are three easy things you need to do uninstall a program using WMIC.

  1. Open a CMD prompt running as an admin
  2. Figure out the EXACT name of the program by having WMIC produce a list:
    wmic product get name
  3. Use WMIC PRODUCT NAME command to remove the program you want
    wmic product where name ='<PROGRAM NAME HERE>' call uninstall /nointeractive

If you do not use the /nointeractive switch, WMIC will prompt the user to confirm the uninstall, which likely defeats the purpose of the scripting the uninstall

Also note that wild cards can be used with WMIC but the command is slightly different:

wmic product where 'name like '<PROGRAM NAME HERE>%%' call uninstall

You also may want to clean up the installation folder, if it still exists using:

rd /s /q C:Program Files<PROGRAM FOLDER NAME HERE>

Command Line to Uninstall a Program using MSIEXEC

Programs installed with an .MSI are easy and has two choices:

Uninstall Using the Installation MSI

If you still have access to the .MSI installation file you can simply run:

msiexec /x <PROGRAM NAME HERE>.msi /q

Uninstall Using the App’s GUID

If you don’t have access to the .MSI installation file:

  1. Figure out what the GUID of the program is by opening REGEDIT and expanding:
    HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > Uninstall
  2. Either in a CMD window running as an ADMIN or a script running as an ADMIN
    msiexec /quiet /norestart /uninstall {<GUID>}
    like:
    msiexec /quiet /norestart /uninstall {7FCA6452-46F2-452F-A5A7-DAB7DE12D0E6}

How To Uninstall a Program using PowerShell

  1. You can use the first two steps in e WMIC method above to determine the exact program nae
  2. Use the following commands in a PowerShell running as an admin:
    $app = Get-WmiObject -Class Win32_Product -Filter 'Name = '<PROGRAM NAME HERE>'
    $app.Uninstall()