EvoMR05 Posted May 5, 2006 Posted May 5, 2006 I am trying to write something, I need the output of a command, how would I be able to store that into a variable and parse it, I can get it into Comma Deliminated format.Any thoughts? Thanks.
jftuga Posted May 5, 2006 Posted May 5, 2006 @echo offdate /t > c:\temp\date.txtset /p TODAY=<c:\temp\date.txtecho Today is %TODAY%How is that, for starters?-John
net_user Posted May 5, 2006 Posted May 5, 2006 you will probally get a faster response if you post in the Programming forum.... linko...and welcome to the forums....
IcemanND Posted May 5, 2006 Posted May 5, 2006 for /f "tokens=*" %i in ('mycommand.exe') do set myvar=%i
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now