Jump to content

How to run a batch script


Recommended Posts

Hi Folks,


Apologies if this has been asked before, I'm new to pulseway and getting to grips with Automation.


I have a simple batch script to install a printer onto a workstation. When I run it via pulseway, it says it runs successfully, but the printer doesnt appear on the workstation.
Can anyone offer some advice? FYI - the same batch script run locally works fine.


@echo off

title Printer Script

REM Add Printers
RunDll32.EXE printui.dll,PrintUIEntry /in /n "\\dc1\Accounts"


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...