You must look for the "set"-vars.
The system define many of them for default - any of them need memory. You can use a special batch-file to "unset" most of the vars. This file you must "call" at first of the program execution.
Sample batch file "set_env.bat":
--------------------------------
@echo off
set ALLUSERSPROFILE=
set APPDATA=
set CLASSPATH=
rem set CLIENTNAME=
set CommonProgramFiles=
set Computername=
set FP_NO_HOST_CHECK=
set HomeDrive=
set HOMEPATH=
set HOMESHARE
set LOGONSERVER=
set NUMBER_OF_PROCESSORS=
set os=
set PROCESSOR_ARCHITECTURE=
set PROCESSOR_IDENTIFIER=
set PROCESSOR_LEVEL=
set PROCESSOR_REVISION=
set ProgramFiles=
set QTJAVA=
set SESSIONNAME=
set temp=
set tmp=
set USERDOMAIN=
set USERGROUP=
set USERNAME=
set USERPROFILE=
set windir=
set Path=C:\windows;C:\windows\system32;C:\windows\system32\wbem
if "%1"=="quit" goto End
dbase4.exe %1
:End
--------------------------------
The second step is to call the set_env-file as first - look the next sample:
--------------------------------
C:
cd C:\Prog16\turnus\prg
call set_env.bat turnus.prg
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.