Jump to content

Recommended Posts

Posted

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.


Posted

@echo off

date /t > c:\temp\date.txt

set /p TODAY=<c:\temp\date.txt

echo Today is %TODAY%

How is that, for starters?

-John

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...