🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Environment Vars stepping on each other

#181
From: Ebbe Kristensen
Date: Wed, 12 Mar 2008 10:14
10 lines
1133 bytes
Debbie Erickson wrote:
> 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

Add SETLOCAL at the top of your batch file.

Ebbe 
Technical Details
Message-ID: <47d7acf5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47cef684$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,65d038c21db7aa17
X-Google-Attributes: gidff8f1,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ebbe Kristensen" <ebbe@ekologic.dk>
Newsgroups: borland.public.delphi.commandlinetools
References: <47cef684$1@newsgroups.borland.com>
Subject: Re: Environment Vars stepping on each other
Date: Wed, 12 Mar 2008 11:14:12 +0100
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 193.89.116.55
Message-ID: <47d7acf5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1205316853 193.89.116.55 (12 Mar 2008 03:14:13 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail