Re: Redirecting command output to environment variable and tracking errorlevel
- From: foxidrive <gotcha@xxxxxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 18:11:22 +1100
On Tue, 27 Feb 2007 22:40:45 -0700, "Al Dunbar [MS-MVP]"
<alan-no-drub-spam@xxxxxxxxxxx> wrote:
I there a way doing it without using temporary files. The output of
mycmd is sensitive and I would like it to be stored on files?
It looks like a simple requirement to catch an output and return code
from a cmd but appearently it doesnt... only one line in perl...
Jerold's (multi-line) solution seems to avoid explicit use of files. But
beware! You can never really be sure that transitory information is not
indirectly stored in a file somewhere.
From reading peoples comments, Al, I believe that pipes and commands infor-in-do commands are stored in the registry while executing. Dunno if
that's in a RAM copy or on the HDD.
Of course it always been that dos/Win9x/ME store pipes etc in temporary
files in the %temp% location, if set.
.
- References:
- Redirecting command output to environment variable and tracking errorlevel
- From: yairinbal
- Re: Redirecting command output to environment variable and tracking errorlevel
- From: Tom Lavedas
- Re: Redirecting command output to environment variable and tracking errorlevel
- From: yairinbal
- Re: Redirecting command output to environment variable and tracking errorlevel
- From: Al Dunbar [MS-MVP]
- Redirecting command output to environment variable and tracking errorlevel
- Prev by Date: Re: Redirecting command output to environment variable and tracking errorlevel
- Previous by thread: Re: Redirecting command output to environment variable and tracking errorlevel
- Next by thread: Vista - CMD - Higher Level?????
- Index(es):
Loading