Veritas-bu

Re: [Veritas-bu] More a Windows scripting question...but NBU related

2007-10-18 15:02:49
Subject: Re: [Veritas-bu] More a Windows scripting question...but NBU related
From: "Martin, Jonathan" <JMARTI05 AT intersil DOT com>
To: "Ellis, Jason" <Jason.Ellis AT imb DOT com>, <Veritas-bu AT mailman.eng.auburn DOT edu>
Date: Thu, 18 Oct 2007 14:44:23 -0400
Microsoft's Document
 
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx?mfr=true
 
SET VARNAME=123
ECHO %VARNAME%
 
-Jonathan

________________________________

From: veritas-bu-bounces AT mailman.eng.auburn DOT edu on behalf of Ellis, Jason
Sent: Thu 10/18/2007 2:21 PM
To: Veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] More a Windows scripting question...but NBU related



So I need to run a command and then store the output of that command in a 
variable for later use. In UNIX this is easy, just put the command into 
back-quotes and place it in the variable you want the results to be stored in. 
It doesn't work this was in the Windows shell.

 

Is there anybody out there who knows how to do this in Windows?

 

Thank you.

 

Jason


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu