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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now