Skip to main content

Search

Search

Bat Files

Comments

3 comments

  • Avatar
    Shotaro Ito
    Hi Tomasz,
    Do you use Commander?
    Commander Task's command Type "Operating System" Allows you to start your application from specific path.
    (Don't run "bartend.exe" from here, Use [BarTender Command] or Commander script instead.)
    [attachment=46:OperatingSystemCommand.png]
    When program is on mapped network drive, specify by UNC path (ex. "\\servername\sharename\program.bat")

    If you call from custom application like VB, that is something about Windows - make sure the batch file is exist and accessible from the user account used for running the application.

    Hope that helps!
    0
  • Avatar
    Legacy Poster

    I have restricted users who will only be able to run a format from a shortcut on the desktop.  Below are the paths to BarTender and the format.  How can I set up the shortcut or BAT file to run the format.

     

    Using Automation V9.4 build 2749 Windows Server 64 bit.

     

    "c:Program Files (x86)\Seagull\BarTender Suite\Bartend" "C:\RestrictedTerm\Formats\LPNStyle.btw" /PD /X

    0
  • Avatar
    Shotaro Ito

    The command line will be 

     

    "C:\Program Files (x86)\Seagull\BarTender Suite\bartend.exe" /F="C:\RestrictedTerm\Formats\LPNStyle.btw" /PD /X

     

    A batch file can be created to paste above into notepad and save as "print.bat" etc.

    0

Please sign in to leave a comment.