Changi NNTP Server 1.0

[ Bottom of Page | Previous Page | Next Page | Table of Contents ]

Changi Environment
Specifying Directory Names

The following environment variables may be set to override file name defaults:

CHANGINEWSDIR
CHANGIOVERDIR
CHANGISPOOLDIR
CHANGITEMPDIR
CHANGIWORKDIR
TMP

If no absolute pathname is specified, CHANGIWORKDIR is prepended.


CHANGINEWSDIR

The CHANGINEWSDIR environment variable specifies the home (or root) directory of your local newsbase. All articles will be stored in subdirectories below this point. If this directory does not exist, the program will create it for you.

Default is CHANGIWORKDIR\news.

Example:

SET CHANGINEWSDIR=C:\CHANGI\NEWS

CHANGIOVERDIR

CHANGIOVERDIR specifies the root directory for the overview files. All overview files will be stored in subdirectories below this point. If this directory does not exist, the program will create it for you. For better performance you may specify directories on different drives for CHANGINEWSDIR and CHANGIOVERDIR.

Default is CHANGIWORKDIR\news.

Example:

SET CHANGIOVERDIR=C:\CHANGI\NEWS

CHANGISPOOLDIR

The environment variable CHANGISPOOLDIR defines the directory where the posts are stored by Changi in UUCP compatibel spoolfiles, waiting to be delivered to the world by Chanx or uucico.

Default is CHANGIWORKDIR\spool.

Example:

SET CHANGISPOOLDIR=C:\UUCP\SPOOL

CHANGITEMPDIR

This variable may be used to override the directory specified by TMP.


CHANGIWORKDIR

The CHANGIWORKDIR environment variable specifies the home or root directory for Changi. Any reference to a file or directory given without an absolute path will be assumed to live in this directory. Although this parameter is optional it should be specified. If it's not given, the current directory is used.

Example:

SET CHANGIWORKDIR=C:\CHANGI

TMP

The TMP environment variable specifies a directory to be used for temporary files. Be aware that other programs may use this variable too. For example, it's usually added to CONFIG.SYS during TCP/IP installation.

This parameter is optional. If it's not defined Changi will use the current directory.

Example:

SET TMP=C:\TMP


[ Top of Page | Previous Page | Next Page | Table of Contents ]


URL: changi/manual/envidir.html
Created: 3 August 1996
Revised: 21 November 1996
Author: harald@os2point.ping.de