Saved Bookmarks
| 1. |
Solve : Get only the date? |
|
Answer» BFC, what part of "we don't do peoples school assignments for them" don't you understand?Code: [Select]|date |find >> Date.txt Code: [Select]|date |find >> Date.txt Batchrocks, could you explain that code please? (Have you tested it?) Quote We try not to HELP with homework. If this is what you are after, please at least be honest and don't try to hide the purpose for the QUESTION. HONESTY sometimes gets results!Source 17 posts and no solution. Hmmm, I suggest a compromise. The script below uses Win98 BATCH language. It produces the correct RESULT in WinXP but not Win98. After dissecting the code to see how it runs, you should be able to produce the correct result in Win98. Code: [Select]@echo off ver | date > temp.bat echo set dt=%%5>the.bat call temp.bat del temp.bat del the.bat echo %dt% Hint: 3 changes to the code must be made to run correctly in Win98. Good luck. An excellent solution, Sidewinder! I got it to work on my old computer . |
|