Page 1 of 1
Scripts
Posted: Sat May 14, 2005 11:39 pm
by Tina
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
Posted: Sun May 15, 2005 12:52 am
by bdude
You could use a batch file e.g
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
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]
Worked Thanks
Posted: Mon May 16, 2005 12:44 am
by Tina
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
Posted: Tue May 17, 2005 1:43 am
by bdude
If you add /MIN to it it will start minimised
e.g.
would start aprint minimised
you can also use /MAX for MAXimised[/code]