Does anyone know how to create a Script to automate the startup process for POS? I would like to be able to run Aprint, Pole, and then pos with a click of an Icon without clicking them seperately or placing them in the startup file. Is this even possible?
Thanks,
Tina
Scripts
Moderators:daleadmin, Dale Harris, Alan, Andrew
You could use a batch file e.g
I believe you can use a switch for START to start minimised (for APRINT and POS)
Then you can just shortcut to this from desktop[/code]
Code: Select all
REM DHPOS Start File
ECHO Starting APRINT
CD [POSDIR]
START APRINT.EXE
ECHO APRINT Started
ECHO
ECHO Starting POLE
START POLE.EXE
ECHO POLE Started
ECHO
ECHO Starting POS
START POS.EXE
Then you can just shortcut to this from desktop[/code]
Worked Thanks
Thank you for the tip. The batch file I had before didn't work because I didn't place START in front of the commands to load. Put the shortcut to the .bat file on the desktop and now it works like a charm.
This is what my .bat looks like now
ECHO OFF
CLS
c:
cd\
cls
ECHO ******************************
ECHO * Starting Terminal Services *
ECHO * Connecting to Host........ *
ECHO * E: \\SERVER_CC\C-DRIVE *
ECHO ******************************
Net use E: \\SERVER_CC\C-DRIVE
Pause
c:
CD\pos628c
start APRINT.EXE
start POLE.EXE
start POS.EXE
Exit
Thanks again,
Tina
This is what my .bat looks like now
ECHO OFF
CLS
c:
cd\
cls
ECHO ******************************
ECHO * Starting Terminal Services *
ECHO * Connecting to Host........ *
ECHO * E: \\SERVER_CC\C-DRIVE *
ECHO ******************************
Net use E: \\SERVER_CC\C-DRIVE
Pause
c:
CD\pos628c
start APRINT.EXE
start POLE.EXE
start POS.EXE
Exit
Thanks again,
Tina
If you add /MIN to it it will start minimised
e.g.
would start aprint minimised
you can also use /MAX for MAXimised[/code]
e.g.
Code: Select all
START Aprint.exe /MIN
you can also use /MAX for MAXimised[/code]
Who is online
Users browsing this forum: No registered users and 22 guests