Saved Bookmarks
| 1. |
Solve : To create a dir with yesterday's date? |
|
Answer» Hi, Since I want to automate this process, a bat file file is required. Wrong. A command file is not required. What is required is a Windows Script that can handle date functions. While it is true that you can use the set instruction to perform rudimentry arithmetic, what do you plan on calculating when today's date is Mar 1, Aug 1, or Oct 1? or actually on any first day of the month? Unless you are prepared to write a boatload of IF statments, BATCH language is a waste of time. Check out the Scripting Guys for better results. Good LUCK. |
|