Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can my bat file boot to Clipper and Xbase++

Status
Not open for further replies.

gaspen200

Programmer
Dec 29, 2002
1
US
My System is a Pentium 133, 128 RAM. Operating system is WIN95 SR2

I am not sure on how to modifiy my Autoexec.bat file to allow me to switch ot one of two environments. I am want to migrate my Clipper software to Alaska Ebase++. I want to include a 30 second pause, before accepting the default set up, which would be the first set up. I have ECHO ON because I want to see what is going on until I have everything right. I intend to step through the starT up until I get it right. Coul you edit the below lines to accomplish this goal?

************************************************************************
SET BLASTER=A220 I10 D1 H1 P300 T6
@ECHO OFF
SET TMP=C:\WINDOWS\TEMP
SET PROMPT=$p$g
@ ECHO ON
[menu]
menuitem=Clipper,Clipper Environment
SET INCLUDE=INCLUDE;D:\CLIPPER5\INCLUDE
SET LIB=LIB;D:\CLIPPER5\LIB
SET OBJ=D:\CLIPPER5\OBJ
SET PLL=D:\CLIPPER5\PLL
SET PATH=C:\WINDOWS;D:\DBASEIII;D:\CLIPPER5\BIN
menuitem=Alaska,Alaska Environment
REM E:\ALASKA\XPPW32\autoxpp.bat - environment for Alaska Xbase++ 1.82 International Trial Version
REM created by Alaska Xbase++ 1.82 International Trial Version installation
SET XPPROOT=E:\ALASKA\XPPW32SET PATH=%XPPROOT%BIN;%XPPROOT%LIB;%PATH%
SET LIB=%XPPROOT%LIB;%LIB%
SET INCLUDE=%XPPROOT%INCLUDE;%INCLUDE%
SET XPPRESOURCE=%XPPROOT%RESOURCE\BITMAP;%XPPROOT%RESOURCE\ICON;%XPPROOT%RESOURCE\FONT;%XPPROOT%RESOURCE\POINTER

**************************************************************************

gaspen
 
Gaspen,

Why don't you setup 2 batch files, one to do the sets for the Clipper environment, the other for Xbase. Call the approprite one from the compile bat file and you should be OK.

Ian Boys
DTE Systems Ltd
 
xBASE++ is supplied with exactly what you need to
do this. The 2 files are called DINO.BAT and AUTOXPP.BAT
and should already be loaded on your computer.

Read page 4 of the xBASE++ Basic Users Guide in the
section "Switching the environment". If you have
not installed the product correctly or from approved
and complete media then you should send an email to
<support@us.alaska-software.com>

Cheers,
Jim Wild
T/A Wildcard Systems - New Zealand
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top