🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.commandlinetools
Article #179

Environment Vars stepping on each other

#179
From: Debbie Erickson
Date: Wed, 05 Mar 2008 18:37
12 lines
1271 bytes
Hi.  I have a buildmachine and am doing 2 compiles at same time.  I set some vars in each batch file, like this:

set ROOTDIR=%CD%
set OUTPUTFILE=%ROOTDIR%\output.txt

The two compiles are colliding on each other because they are starting in different folders.

Is there a way to make the variable scope apply only to the batch using it?

Thanks!
Debbie Erickson
Technical Details
Message-ID: <47cef684$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,65d038c21db7aa17,start
X-Google-Attributes: gidff8f1,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Debbie Erickson" <debianne3@hotmail.com>
Sender: "Debbie Erickson" <debianne3@hotmail.com>
Reply-To: "Debbie Erickson" <debianne3@hotmail.com>
Subject: Environment Vars stepping on each other
Newsgroups: borland.public.delphi.commandlinetools
X-User-Info: 66.43.114.226     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <47cef684$1@newsgroups.borland.com>
Date: 5 Mar 2008 11:37:40 -0700
X-Trace: newsgroups.borland.com 1204745860 207.105.83.66 (5 Mar 2008 11:37:40 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail