Computer Problems? Computing.Net has over
1,000,000 posts about all things technology related! Over 90% answered within 24 hours!
Click here to start participating now! Also, be sure to check out the
New User Guide .
recall variable
Comment: need help,
what i want to do is store an input into an log.txt file then recall the info based off today date.
so
set /p test=something: set /p test2=something: echo %date% >log.txt echo %test% >log.txt echo %test2% >log.txt
then i think use findstr and have the info from the log.txt into the batch file.
but not sure how to work it out.
i dont mind having more then one log.txt to store each info but might be easier to do that.
Thank you for the help Brock
Sponsored Link
Response Number 1
Name: Mechanix2Go
Date: July 4, 2009 at 03:07:46 Pacific
Reply: I'm not clear on what you want.
You put 2 vars and date into a file. Now what?
===================================== If at first you don't succeed, you're about average.M2
0
Response Number 2
Name: brockey01
Date: July 4, 2009 at 04:23:50 Pacific
Reply: then have the same batch file search the date in a 2 week span and list the date and variable in the cmd window.
0
Sponsored Link
Related Posts
Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home
Sponsored links
Results for: recall variable
SWAP without temp variable Summary : Hi: How can i swap values in 2 variables without using temp varibale. Thanx Nirav ... www.computing.net/answers/programming/swap-without-temp-variable/4268.html
Batch File- Subfolder as a Variable Summary : I need a batch file that will scan multiple subfolders in one folder, look for the most recent modified file in the subfolders, and set the subfolder which contains the most recent modified file as a... www.computing.net/answers/programming/batch-file-subfolder-as-a-variable/14153.html
windows environment variables Summary : Any one have any idea where i can get a comprehensive list of the Windows environment variables and what information they contain? ... www.computing.net/answers/programming/windows-environment-variables/1098.html
From the Geek Dictionary
Chat Room - A web page or software with which users can communicate live and in real-ti...
See More