Scripts

Make comments, ask questions, or just complain about the software on this site. Or comment on any educational software.
Please note that by clicking on links that may appear in these posts that you may be leaving the Dale Harris Educational Software website and that the content of those sites is the sole resposibility of the authors of those sites.

Moderators:daleadmin, Dale Harris, Alan, Andrew

Post Reply
Tina
Scripts

Post by Tina » Sat May 14, 2005 11:39 pm

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

User avatar
bdude
Forum Regular
Posts:117
Joined:Mon Jul 19, 2004 12:00 am
Contact:

Post by bdude » Sun May 15, 2005 12:52 am

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]

Tina

Worked Thanks

Post by Tina » Mon May 16, 2005 12:44 am

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

User avatar
bdude
Forum Regular
Posts:117
Joined:Mon Jul 19, 2004 12:00 am
Contact:

Post by bdude » Tue May 17, 2005 1:43 am

If you add /MIN to it it will start minimised
e.g.

Code: Select all

START Aprint.exe /MIN
would start aprint minimised

you can also use /MAX for MAXimised[/code]

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests