Upgrading to DataFlex 3.2: Difference between revisions

m
Indent
m (Indent)
m (Indent)
Line 223: Line 223:
Following are some batch file examples for switching among versions. You’ll want to place these batch files in a directory that is included in your  PATH environment variable (e.g. use a directory c:\batch to be included in your  PATH, to contain all batch files).
Following are some batch file examples for switching among versions. You’ll want to place these batch files in a directory that is included in your  PATH environment variable (e.g. use a directory c:\batch to be included in your  PATH, to contain all batch files).


Set32.bat
'''Set32.bat'''


Use this file to set up your environment for running DataFlex 3.2 and switch to your application directory:
Use this file to set up your environment for running DataFlex 3.2 and switch to your application directory:


@echo off
@echo off
echo Setting Up DataFlex 3.2 Environment
echo Setting Up DataFlex 3.2 Environment
set DFENV=c:\df32\usr\dfenv.cfg
set DFENV=c:\df32\usr\dfenv.cfg
set DFPATH=    REM blank DFPATH env. variable
set DFPATH=    REM blank DFPATH env. variable
set DFPROG=    REM blank DFPROG env. variable
set DFPROG=    REM blank DFPROG env. variable
echo Switching to DataFlex 3.2 Application Area
echo Switching to DataFlex 3.2 Application Area
c:
c:
cd \app\src
cd \app\src


Set23.bat
'''Set23.bat'''


Use this file to set up your environment for running DataFlex 2.3 and switch to your DataFlex 2.3b directory:
Use this file to set up your environment for running DataFlex 2.3 and switch to your DataFlex 2.3b directory:


@echo off
@echo off
echo Setting Up DataFlex 2.3 Environment
echo Setting Up DataFlex 2.3 Environment
set DFENV=     REM blank DFENV env. variable
set DFENV=       REM blank DFENV env. variable
set DFPATH=.;    REM current directory only directory in DFPATH
set DFPATH=.;    REM current directory only directory in DFPATH
set DFPROG=.;
set DFPROG=.;
echo Switching to DataFlex 2.3b Area
echo Switching to DataFlex 2.3b Area
c:
c:
cd \df23
cd \df23


Note: The DFPROG environment variable is used by DataFlex revisions 2.3 and 3.01 to find the location of its executable files (i.e. dfrun.exe).
Note: The DFPROG environment variable is used by DataFlex revisions 2.3 and 3.01 to find the location of its executable files (i.e. dfrun.exe).