DOS Prompt 4/

 BBS: Inland Empire Archive
Date: 03-24-92 (03:24)             Number: 200
From: DARYL POSNETT                Refer#: NONE
  To: DUANE BURRIS                  Recvd: NO  
Subj: DOS Prompt            4/       Conf: (2) Quik_Bas
>>> Continued from previous message
'$INCLUDE: 'qb.bi'
'$INCLUDE: 'mstenv.bi'
DEFINT A-Z

'
' Add a path to current path
'
PRINT "ADDPATH   Copyright 1992, Applied Design Group"

IF COMMAND$ = "" THEN
  PRINT
  PRINT "USAGE: ADDPATH <path string>"
  PRINT
ELSE
  path$ = GetMasterEnvVar("PATH")
  path$ = path$ + ";" + COMMAND$
  IF SetMasterEnvVar("PATH", path$) THEN PRINT "Out of enviroment space"
END IF

PRINT "Done!"

============================ Cut Here ==================================

Hope this helps, I'm sure some of the QB gurus around here will have
some ideas on making it faster, better etc.

Daryl
___
 X SLMR 2.0 X Have you tried an Applied Design Group product today ?

--- Maximus 2.00
 * Origin: Inland Empire Archive (1:346/10)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET