Bat Files Follow

0
Avatar
Legacy Poster

Hello


I have question how i can run bat files from disk d:

Becouse when i make "call d:\program.bat"

I recive error comman
Program commander cannot execude d:\program.bat this file don't exist

BestRegarsds

3 comments

0
Avatar
Shotaro Ito
Moderator
Comment actions Permalink

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
Comment actions Permalink

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
Moderator
Comment actions Permalink

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.

Please sign in to leave a comment.