I thought it would be a good idea to replace a batch script
(.bat) running on a Windows 2000 with a Perl script which
is far more clever.
The original batch file setted two environment variables
which were available after running the script. That is,
if I did
c:> cvs-init.bat
it has commands l
It is neither possible in unix.
When you run a batch script under Win32, or 'source' a shell script under
unix, you only have 1 process, and that process is executing commands,
which set _its_ env variables.
If your fork a child process (ie. start perl to execute the perl-script),
it can only ch
the set command.
-Original Message-
From: Pozsar Balazs [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 10:45 AM
To: Adriano Rodrigues Ferreira
Cc: [EMAIL PROTECTED]
Subject: Re: How to export environment variables in Win32
It is neither possible in unix.
When you run a batch